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 --- backend.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'backend.php') diff --git a/backend.php b/backend.php index d3d8622d9..c69d6d98b 100644 --- a/backend.php +++ b/backend.php @@ -113,8 +113,7 @@ $op = str_replace("-", "_", $op); - global $pluginhost; - $override = $pluginhost->lookup_handler($op, $method); + $override = PluginHost::getInstance()->lookup_handler($op, $method); if (class_exists($op) || $override) { -- cgit v1.2.3-54-g00ecf