From 1c63e868c9bdbfabaa9375f1486b3194d4e49cfc Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sun, 17 Sep 2017 12:20:59 -0700 Subject: [PATCH] Delete dead code. --- Frameworks/Account/Account.swift | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Frameworks/Account/Account.swift b/Frameworks/Account/Account.swift index 4864b45bc..21beb4a47 100644 --- a/Frameworks/Account/Account.swift +++ b/Frameworks/Account/Account.swift @@ -36,8 +36,6 @@ public final class Account: DisplayNameProvider, Hashable { var username: String? var refreshInProgress = false - static public let accounts = [String: Account]() - init?(dataFolder: String, settingsFile: String, type: AccountType, accountID: String) { self.accountID = accountID @@ -57,11 +55,6 @@ public final class Account: DisplayNameProvider, Hashable { // MARK: - API - static public func existingAccountWithID(_ accountID: String) -> Account? { - - return accounts[accountID] - } - public func refreshAll() { delegate.refreshAll(for: self)