From 54b5100b09d6dbfbda343611dc45ac4298d7afb1 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Sat, 9 Sep 2017 11:10:15 -0700 Subject: [PATCH] Call saveUpdatedRelatedObjects when saving updated articles. --- Frameworks/Database/ArticlesTable.swift | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Frameworks/Database/ArticlesTable.swift b/Frameworks/Database/ArticlesTable.swift index 4db09de41..fecb0c949 100644 --- a/Frameworks/Database/ArticlesTable.swift +++ b/Frameworks/Database/ArticlesTable.swift @@ -440,9 +440,8 @@ private extension ArticlesTable { func saveUpdatedArticles(_ updatedArticles: Set
, _ fetchedArticles: [String: Article], _ database: FMDatabase) { - updateRelatedTags(updatedArticles, fetchedArticles, database) - updateRelatedAttachments(updatedArticles, fetchedArticles, database) - updatedRelatedAuthors(updatedArticles, fetchedArticles, database) + saveUpdatedRelatedObjects(updatedArticles, fetchedArticles, database) + } func articlesWithParsedItems(_ parsedItems: Set, _ feed: Feed) -> Set
{