mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-11-28 09:31:12 +01:00
update.php: update feedbrowser, purge orphans and cleanup cached tags in the update handler
This commit is contained in:
parent
9de6ced109
commit
84e9a8c7e6
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…
x
Reference in New Issue
Block a user