1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-19 11:21:30 +00:00

support for ccache updates in catchupArticlesById()

This commit is contained in:
Andrew Dolgov
2009-01-16 16:02:47 +01:00
parent 73241803c7
commit 0737b95a56
2 changed files with 12 additions and 1 deletions

View File

@@ -3980,6 +3980,15 @@
unread = NOT unread,last_read = NOW()
WHERE ($ids_qpart) AND owner_uid = $owner_uid");
}
/* update ccache */
$result = db_query($link, "SELECT DISTINCT feed_id FROM ttrss_user_entries
WHERE ($ids_qpart) AND owner_uid = $owner_uid");
while ($line = db_fetch_assoc($result)) {
ccache_update($link, $line["feed_id"], $owner_uid);
}
}
function catchupArticleById($link, $id, $cmode) {