summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorBug Magnet <marco.nikic@mullvad.net>2024-04-26 16:01:33 +0200
committerBug Magnet <marco.nikic@mullvad.net>2024-04-30 10:48:28 +0200
commitf96945134c6a1128d2c961dc01afc33f93cfdee4 (patch)
treee62c9e3e57cb79f4a7b3335e27620014c11223b5
parentea344c2d14d7396e550840737f3328e08d3fda45 (diff)
downloadmullvadvpn-f96945134c6a1128d2c961dc01afc33f93cfdee4.tar.xz
mullvadvpn-f96945134c6a1128d2c961dc01afc33f93cfdee4.zip
Remove dead code
-rw-r--r--ios/MullvadVPN/TunnelManager/TunnelManager.swift10
1 files changed, 0 insertions, 10 deletions
diff --git a/ios/MullvadVPN/TunnelManager/TunnelManager.swift b/ios/MullvadVPN/TunnelManager/TunnelManager.swift
index cc4ce36da6..fe989a790c 100644
--- a/ios/MullvadVPN/TunnelManager/TunnelManager.swift
+++ b/ios/MullvadVPN/TunnelManager/TunnelManager.swift
@@ -1045,16 +1045,6 @@ final class TunnelManager: StorePaymentObserver {
isPolling = false
}
- private func cancelPollingKeyRotation() {
- guard isRunningPeriodicPrivateKeyRotation else { return }
-
- logger.debug("Cancel key rotation polling.")
-
- privateKeyRotationTimer?.cancel()
- privateKeyRotationTimer = nil
- isRunningPeriodicPrivateKeyRotation = false
- }
-
fileprivate func removeLastUsedAccount() {
do {
try SettingsManager.setLastUsedAccount(nil)