From: Andrew Dolgov Date: Wed, 13 Apr 2011 11:48:20 +0000 (+0400) Subject: update.php: update feedbrowser, purge orphans and cleanup cached tags in the update... X-Git-Tag: 1.5.3~49 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=84e9a8c7e602b17e45e370659fe7a9f1a1fd5c27;p=tt-rss.git update.php: update feedbrowser, purge orphans and cleanup cached tags in the update handler --- diff --git a/update.php b/update.php index ac785373..4598e7c6 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") {