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

master
Andrew Dolgov 14 years ago
parent 9de6ced109
commit 84e9a8c7e6

@ -56,6 +56,16 @@
if ($op == "-feeds") { if ($op == "-feeds") {
// Update all feeds needing a update. // Update all feeds needing a update.
update_daemon_common($link); 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") { if ($op == "-feedbrowser") {

Loading…
Cancel
Save