Delete dead code.
This commit is contained in:
parent
121fbf3c27
commit
1c63e868c9
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue