mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 18:45:56 +00:00
make pluginhost a singleton
This commit is contained in:
@@ -66,8 +66,7 @@ class Pref_System extends Handler_Protected {
|
||||
|
||||
print "</div>";
|
||||
|
||||
global $pluginhost;
|
||||
$pluginhost->run_hooks($pluginhost::HOOK_PREFS_TAB,
|
||||
PluginHost::getInstance()->run_hooks(PluginHost::HOOK_PREFS_TAB,
|
||||
"hook_prefs_tab", "prefSystem");
|
||||
|
||||
print "</div>"; #container
|
||||
|
||||
Reference in New Issue
Block a user