From 1824c15ddcbd239cac3b033320a953f73b2fbeab Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Wed, 3 Apr 2024 22:42:32 -0700 Subject: [PATCH] Delete fetchStarredArticleIDsAsync. --- .../ArticlesDatabaseCompatibility.swift | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/ArticlesDatabase/Sources/ArticlesDatabase/ArticlesDatabaseCompatibility.swift b/ArticlesDatabase/Sources/ArticlesDatabase/ArticlesDatabaseCompatibility.swift index e5b077cbd..edc3bec63 100644 --- a/ArticlesDatabase/Sources/ArticlesDatabase/ArticlesDatabaseCompatibility.swift +++ b/ArticlesDatabase/Sources/ArticlesDatabase/ArticlesDatabaseCompatibility.swift @@ -58,19 +58,6 @@ public extension ArticlesDatabase { // MARK: - Status - /// Fetch the articleIDs of starred articles. - nonisolated func fetchStarredArticleIDsAsync(completion: @escaping ArticleIDsCompletionBlock) { - - Task { - do { - let articleIDs = try await starredArticleIDs()! - callArticleIDsCompletion(completion, .success(articleIDs)) - } catch { - callArticleIDsCompletion(completion, .failure(.suspended)) - } - } - } - /// 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) {