update.php: update feedbrowser, purge orphans and cleanup cached tags in the update handler
This commit is contained in:
parent
9de6ced109
commit
84e9a8c7e6
1 changed files with 10 additions and 0 deletions
10
update.php
10
update.php
|
@ -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") {
|
||||
|
|
Loading…
Reference in a new issue