From: Andrew Dolgov Date: Sat, 17 Jan 2009 16:11:53 +0000 (+0100) Subject: clear_feed, purge_feed: update ccache X-Git-Tag: 1.3.0~116 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ced46404c7379cc080e7c4a0f0a8bb8f37f4ae00;p=tt-rss.git clear_feed, purge_feed: update ccache --- diff --git a/functions.php b/functions.php index 9a6b178e..69085bab 100644 --- a/functions.php +++ b/functions.php @@ -201,6 +201,8 @@ } + ccache_update($link, $feed_id, $owner_uid); + if ($debug) { _debug("Purged feed $feed_id ($purge_interval): deleted $rows articles"); } @@ -5623,6 +5625,8 @@ $result = db_query($link, "DELETE FROM ttrss_entries WHERE (SELECT COUNT(int_id) FROM ttrss_user_entries WHERE ref_id = id) = 0"); + + ccache_update($link, $id, $_SESSION['uid']); } // function clear_feed_articles /**