diff options
author | Andrew Dolgov <[email protected]> | 2021-02-08 14:24:45 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-08 14:24:45 +0300 |
commit | 1eb1629d9e55519f03b67b6acf3a046d356e73ec (patch) | |
tree | a202a435626cd7887f049898fc3a50fda09268da /classes/pref/system.php | |
parent | 20b56b5b237a68d69218fea7fd9a8d1a4d1f2a0f (diff) |
pluginhost: rework run_hooks() to be shorter, add callback variant; implement exception handling for both
Diffstat (limited to 'classes/pref/system.php')
-rw-r--r-- | classes/pref/system.php | 3 |
1 files changed, 1 insertions, 2 deletions
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 "</div>"; # accordion pane - PluginHost::getInstance()->run_hooks(PluginHost::HOOK_PREFS_TAB, - "hook_prefs_tab", "prefSystem"); + PluginHost::getInstance()->run_hooks(PluginHost::HOOK_PREFS_TAB, "prefSystem"); print "</div>"; #container } |