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/system.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'classes/pref/system.php') diff --git a/classes/pref/system.php b/classes/pref/system.php index 33a567df5..bc3bde16f 100644 --- a/classes/pref/system.php +++ b/classes/pref/system.php @@ -176,8 +176,7 @@ class Pref_System extends Handler_Protected { print ""; # accordion pane - PluginHost::getInstance()->run_hooks(PluginHost::HOOK_PREFS_TAB, - "hook_prefs_tab", "prefSystem"); + PluginHost::getInstance()->run_hooks(PluginHost::HOOK_PREFS_TAB, "prefSystem"); print ""; #container } -- cgit v1.2.3-54-g00ecf