update.php: update feedbrowser, purge orphans and cleanup cached tags in the update handler

This commit is contained in:
Andrew Dolgov 2011-04-13 15:48:20 +04:00
parent 9de6ced109
commit 84e9a8c7e6

View file

@ -56,6 +56,16 @@
if ($op == "-feeds") {
// Update all feeds needing a update.
update_daemon_common($link);
// Update feedbrowser
$count = update_feedbrowser_cache($link);
_debug("Feedbrowser updated, $count feeds processed.");
// Purge orphans and cleanup tags
purge_orphans($link, true);
$rc = cleanup_tags($link, 14, 50000);
_debug("Cleaned $rc cached tags.");
}
if ($op == "-feedbrowser") {