From 113c3dec9e02f48df22cda107257d15655e3f007 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 24 Jul 2013 12:55:10 +0400 Subject: make globalUpdateFeeds handler use simple update mechanism to prevent script timeouts --- classes/handler/public.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'classes/handler/public.php') diff --git a/classes/handler/public.php b/classes/handler/public.php index 60a961bfa..de0ab66f8 100644 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -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() { -- cgit v1.2.3