Skip to content

Commit

Permalink
fix: remove old useless vars
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Jul 9, 2022
1 parent 91de095 commit 5992d36
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ios/Plugin/CapacitorUpdaterPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ public class CapacitorUpdaterPlugin: CAPPlugin {
}
if (LatestVersionNative != "0.0.0" && currentVersionNative.major > LatestVersionNative.major) {
_ = self._reset(toLastSuccessful: false)
UserDefaults.standard.set("", forKey: "LatestVersionAutoUpdate")
UserDefaults.standard.set("", forKey: "LatestVersionNameAutoUpdate")
let res = implementation.list()
res.forEach { version in
print("\(self.implementation.TAG) Deleting obsolete bundle: \(version)")
Expand Down

0 comments on commit 5992d36

Please sign in to comment.