From ced46404c7379cc080e7c4a0f0a8bb8f37f4ae00 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 17 Jan 2009 17:11:53 +0100 Subject: clear_feed, purge_feed: update ccache --- functions.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'functions.php') diff --git a/functions.php b/functions.php index 9a6b178ee..69085bab1 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 /** -- cgit v1.2.3