From 0737b95a56476b79427b613b50ec4979410244bc Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 16 Jan 2009 16:02:47 +0100 Subject: support for ccache updates in catchupArticlesById() --- functions.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'functions.php') diff --git a/functions.php b/functions.php index e84665999..50f5f7236 100644 --- a/functions.php +++ b/functions.php @@ -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) { -- cgit v1.2.3