diff options
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 9 |
1 files changed, 9 insertions, 0 deletions
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) { |