mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 03:15:56 +00:00
make pluginhost a singleton
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user