From 1eb1629d9e55519f03b67b6acf3a046d356e73ec Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 8 Feb 2021 14:24:45 +0300 Subject: pluginhost: rework run_hooks() to be shorter, add callback variant; implement exception handling for both --- classes/pref/labels.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'classes/pref/labels.php') diff --git a/classes/pref/labels.php b/classes/pref/labels.php index b4d1236b2..4f83ad16e 100644 --- a/classes/pref/labels.php +++ b/classes/pref/labels.php @@ -304,8 +304,7 @@ class Pref_Labels extends Handler_Protected { print ""; #pane - PluginHost::getInstance()->run_hooks(PluginHost::HOOK_PREFS_TAB, - "hook_prefs_tab", "prefLabels"); + PluginHost::getInstance()->run_hooks(PluginHost::HOOK_PREFS_TAB, "prefLabels"); print ""; #container -- cgit v1.2.3-54-g00ecf