From 7f71223387d260eff1c391756c24d52090ccc52a Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Thu, 4 Apr 2024 18:45:12 -0700 Subject: [PATCH] Delete completion version of fetchArticleIDsForStatusesWithoutArticlesNewerThanCutoffDate. --- .../ArticlesDatabaseCompatibility.swift | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/ArticlesDatabase/Sources/ArticlesDatabase/ArticlesDatabaseCompatibility.swift b/ArticlesDatabase/Sources/ArticlesDatabase/ArticlesDatabaseCompatibility.swift index 5b64c7266..fb7b26c34 100644 --- a/ArticlesDatabase/Sources/ArticlesDatabase/ArticlesDatabaseCompatibility.swift +++ b/ArticlesDatabase/Sources/ArticlesDatabase/ArticlesDatabaseCompatibility.swift @@ -58,19 +58,6 @@ public extension ArticlesDatabase { // MARK: - Status - /// Fetch articleIDs for articles that we should have, but don’t. These articles are either (starred) or (newer than the article cutoff date). - nonisolated func fetchArticleIDsForStatusesWithoutArticlesNewerThanCutoffDate(_ completion: @escaping ArticleIDsCompletionBlock) { - - Task { - do { - let articleIDs = try await articleIDsForStatusesWithoutArticlesNewerThanCutoffDate()! - callArticleIDsCompletion(completion, .success(articleIDs)) - } catch { - callArticleIDsCompletion(completion, .failure(.suspended)) - } - } - } - nonisolated func mark(_ articles: Set
, statusKey: ArticleStatus.Key, flag: Bool, completion: @escaping ArticleStatusesResultBlock) { Task {