Call saveUpdatedRelatedObjects when saving updated articles.

This commit is contained in:
Brent Simmons 2017-09-09 11:10:15 -07:00
parent f3406088f3
commit 54b5100b09
1 changed files with 2 additions and 3 deletions

View File

@ -440,9 +440,8 @@ private extension ArticlesTable {
func saveUpdatedArticles(_ updatedArticles: Set<Article>, _ 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<ParsedItem>, _ feed: Feed) -> Set<Article> {