From 84e9a8c7e602b17e45e370659fe7a9f1a1fd5c27 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 13 Apr 2011 15:48:20 +0400 Subject: [PATCH] update.php: update feedbrowser, purge orphans and cleanup cached tags in the update handler --- update.php | 10 ++++++++++ 1 file changed, 10 insertions(+) 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") { -- 2.39.5