diff options
author | Andrew Dolgov <[email protected]> | 2013-04-18 12:27:34 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-04-18 12:27:34 +0400 |
commit | 1ffe3391f902c4baa984982f19e61a0e45de21ff (patch) | |
tree | 4b0b7554c42a6df823db9cf90b925151c796f696 /backend.php | |
parent | 52d88392dad52ec4d5607fef7479d74dee8b8be4 (diff) |
make pluginhost a singleton
Diffstat (limited to 'backend.php')
-rw-r--r-- | backend.php | 3 |
1 files changed, 1 insertions, 2 deletions
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) { |