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