summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-01-17 17:11:53 +0100
committerAndrew Dolgov <[email protected]>2009-01-17 17:11:53 +0100
commitced46404c7379cc080e7c4a0f0a8bb8f37f4ae00 (patch)
treed3becf613e5fffe3550fa3102cc61e822945b97f /functions.php
parentddc34b9b6edff0e8112e8f887018542980138b58 (diff)
clear_feed, purge_feed: update ccache
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php4
1 files changed, 4 insertions, 0 deletions
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
/**