Skip to content
Snippets Groups Projects
Commit 84e9a8c7 authored by Andrew Dolgov's avatar Andrew Dolgov
Browse files

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

parent 9de6ced1
No related branches found
No related tags found
No related merge requests found
......@@ -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") {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment