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 username: String?
|
||||||
var refreshInProgress = false
|
var refreshInProgress = false
|
||||||
|
|
||||||
static public let accounts = [String: Account]()
|
|
||||||
|
|
||||||
init?(dataFolder: String, settingsFile: String, type: AccountType, accountID: String) {
|
init?(dataFolder: String, settingsFile: String, type: AccountType, accountID: String) {
|
||||||
|
|
||||||
self.accountID = accountID
|
self.accountID = accountID
|
||||||
@ -57,11 +55,6 @@ public final class Account: DisplayNameProvider, Hashable {
|
|||||||
|
|
||||||
// MARK: - API
|
// MARK: - API
|
||||||
|
|
||||||
static public func existingAccountWithID(_ accountID: String) -> Account? {
|
|
||||||
|
|
||||||
return accounts[accountID]
|
|
||||||
}
|
|
||||||
|
|
||||||
public func refreshAll() {
|
public func refreshAll() {
|
||||||
|
|
||||||
delegate.refreshAll(for: self)
|
delegate.refreshAll(for: self)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user