Remove cancellAll for FeedWrangler.

This commit is contained in:
Maurice Parker 2019-12-02 15:59:45 -06:00
parent 63428fb2a2
commit dad8b39ea9
1 changed files with 1 additions and 4 deletions

View File

@ -121,10 +121,6 @@ final class FeedWranglerAccountDelegate: AccountDelegate {
} }
} }
func cancelAll(for account: Account) {
caller.cancelAll()
}
func refreshCredentials(for account: Account, completion: @escaping (() -> Void)) { func refreshCredentials(for account: Account, completion: @escaping (() -> Void)) {
os_log(.debug, log: log, "Refreshing credentials...") os_log(.debug, log: log, "Refreshing credentials...")
// MARK: TODO // MARK: TODO
@ -443,6 +439,7 @@ final class FeedWranglerAccountDelegate: AccountDelegate {
/// Suspend the sync database so that it can close its SQLite file. /// Suspend the sync database so that it can close its SQLite file.
func suspend() { func suspend() {
caller.cancelAll()
database.suspend() database.suspend()
} }