1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 17:35:56 +00:00

add cleanup_tags/purge orphans to globalUpdateFeeds and simple update

rpc call (closes #636)
This commit is contained in:
Andrew Dolgov
2013-03-28 08:19:28 +04:00
parent 0196ef94f4
commit cda55d67d0
2 changed files with 16 additions and 0 deletions

View File

@@ -735,6 +735,10 @@ class RPC extends Handler_Protected {
}
}
// Purge orphans and cleanup tags
purge_orphans($this->link);
cleanup_tags($this->link, 14, 50000);
if ($num_updated > 0) {
print json_encode(array("message" => "UPDATE_COUNTERS",
"num_updated" => $num_updated));