From 1ffe3391f902c4baa984982f19e61a0e45de21ff Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 18 Apr 2013 12:27:34 +0400 Subject: make pluginhost a singleton --- public.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'public.php') diff --git a/public.php b/public.php index 2f5081957..f92d252e2 100644 --- a/public.php +++ b/public.php @@ -37,8 +37,7 @@ $method = $_REQUEST["op"]; - global $pluginhost; - $override = $pluginhost->lookup_handler("public", $method); + $override = PluginHost::getInstance()->lookup_handler("public", $method); if ($override) { $handler = $override; -- cgit v1.2.3