diff options
author | Andrew Dolgov <[email protected]> | 2011-04-13 15:48:20 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-04-13 15:48:20 +0400 |
commit | 84e9a8c7e602b17e45e370659fe7a9f1a1fd5c27 (patch) | |
tree | d1aea6aa87dd451337581aaa6d5938c0bdd3d39f /update.php | |
parent | 9de6ced109e3f37824cca26948f2a9f8bade4e7e (diff) |
update.php: update feedbrowser, purge orphans and cleanup cached tags in the update handler
Diffstat (limited to 'update.php')
-rwxr-xr-x | update.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/update.php b/update.php index ac785373d..4598e7c66 100755 --- a/update.php +++ b/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") { |