]> git.wh0rd.org - tt-rss.git/blobdiff - classes/pref/system.php
make pluginhost a singleton
[tt-rss.git] / classes / pref / system.php
index 3d82b8fff66a2154612bcbe2c85bc02057369896..725c337dc99ec0504dd2ab42a3b0e93e2347f146 100644 (file)
@@ -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