]> git.wh0rd.org - tt-rss.git/blobdiff - classes/handler/public.php
make globalUpdateFeeds handler use simple update mechanism to prevent script timeouts
[tt-rss.git] / classes / handler / public.php
index 60a961bfa273977c001874ab419139340b8fb39b..de0ab66f8b678e5bdfbd906e988638ed684121b1 100644 (file)
@@ -391,13 +391,9 @@ class Handler_Public extends Handler {
        }
 
        function globalUpdateFeeds() {
-               include "rssfuncs.php";
-               // Update all feeds needing a update.
-               update_daemon_common(0, true, false);
-               housekeeping_common(false);
+               RPC::updaterandomfeed_real($this->dbh);
 
                PluginHost::getInstance()->run_hooks(PluginHost::HOOK_UPDATE_TASK, "hook_update_task", $op);
-
        }
 
        function sharepopup() {