From ced46404c7379cc080e7c4a0f0a8bb8f37f4ae00 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 17 Jan 2009 17:11:53 +0100 Subject: [PATCH] clear_feed, purge_feed: update ccache --- functions.php | 4 ++++ 1 file changed, 4 insertions(+) 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 /** -- 2.39.5