diff options
| author | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2013-04-18 12:27:34 +0400 |
|---|---|---|
| committer | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2013-04-18 12:27:34 +0400 |
| commit | 1ffe3391f902c4baa984982f19e61a0e45de21ff (patch) | |
| tree | 4b0b7554c42a6df823db9cf90b925151c796f696 /classes/pref/labels.php | |
| parent | 52d88392dad52ec4d5607fef7479d74dee8b8be4 (diff) | |
make pluginhost a singleton
Diffstat (limited to 'classes/pref/labels.php')
| -rw-r--r-- | classes/pref/labels.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/classes/pref/labels.php b/classes/pref/labels.php index a928dd017..2ad152c2d 100644 --- a/classes/pref/labels.php +++ b/classes/pref/labels.php @@ -319,8 +319,7 @@ class Pref_Labels extends Handler_Protected { print "</div>"; #pane - global $pluginhost; - $pluginhost->run_hooks($pluginhost::HOOK_PREFS_TAB, + PluginHost::getInstance()->run_hooks(PluginHost::HOOK_PREFS_TAB, "hook_prefs_tab", "prefLabels"); print "</div>"; #container |