summaryrefslogtreecommitdiff
path: root/classes/handler
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-18 12:27:34 +0400
committerAndrew Dolgov <[email protected]>2013-04-18 12:27:34 +0400
commit1ffe3391f902c4baa984982f19e61a0e45de21ff (patch)
tree4b0b7554c42a6df823db9cf90b925151c796f696 /classes/handler
parent52d88392dad52ec4d5607fef7479d74dee8b8be4 (diff)
make pluginhost a singleton
Diffstat (limited to 'classes/handler')
-rw-r--r--classes/handler/public.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/classes/handler/public.php b/classes/handler/public.php
index ca5952bca..79ed9d0ae 100644
--- a/classes/handler/public.php
+++ b/classes/handler/public.php
@@ -377,8 +377,7 @@ class Handler_Public extends Handler {
cleanup_tags(14, 50000);
- global $pluginhost;
- $pluginhost->run_hooks($pluginhost::HOOK_UPDATE_TASK, "hook_update_task", $op);
+ PluginHost::getInstance()->run_hooks(PluginHost::HOOK_UPDATE_TASK, "hook_update_task", $op);
}