summaryrefslogtreecommitdiff
path: root/classes/handler
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-07-24 12:55:10 +0400
committerAndrew Dolgov <[email protected]>2013-07-24 12:55:10 +0400
commit113c3dec9e02f48df22cda107257d15655e3f007 (patch)
treeedbe956482f70dfc968aa5ac90865a7d12ff987e /classes/handler
parent9fa8d652c2dc312e7af539e52b80436716e8dcc6 (diff)
make globalUpdateFeeds handler use simple update mechanism to prevent script timeouts
Diffstat (limited to 'classes/handler')
-rw-r--r--classes/handler/public.php6
1 files changed, 1 insertions, 5 deletions
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() {