mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-25 08:51:28 +00:00
make pluginhost a singleton
This commit is contained in:
@@ -351,8 +351,7 @@ class Instances extends Plugin implements IHandler {
|
||||
|
||||
print "</div>"; #pane
|
||||
|
||||
global $pluginhost;
|
||||
$pluginhost->run_hooks($pluginhost::HOOK_PREFS_TAB,
|
||||
PluginHost::getInstance()->run_hooks(PluginHost::HOOK_PREFS_TAB,
|
||||
"hook_prefs_tab", "prefInstances");
|
||||
|
||||
print "</div>"; #container
|
||||
|
||||
Reference in New Issue
Block a user