]> git.wh0rd.org Git - tt-rss.git/commitdiff
clear_feed, purge_feed: update ccache
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 17 Jan 2009 16:11:53 +0000 (17:11 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 17 Jan 2009 16:11:53 +0000 (17:11 +0100)
functions.php

index 9a6b178ee96dfe88a495b533ac56c6213ea21154..69085bab16d78b9191fe3eba99980c7b4d128202 100644 (file)
 
                }
 
+               ccache_update($link, $feed_id, $owner_uid);
+
                if ($debug) {
                        _debug("Purged feed $feed_id ($purge_interval): deleted $rows articles");
                }
 
                $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
 
        /**