summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-01-16 16:02:47 +0100
committerAndrew Dolgov <[email protected]>2009-01-16 16:02:47 +0100
commit0737b95a56476b79427b613b50ec4979410244bc (patch)
tree7869e1321c2323fbf0568218e8e89795301346d3 /functions.php
parent73241803c7c5975b00eba91b08a5071d341af0c6 (diff)
support for ccache updates in catchupArticlesById()
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php9
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) {