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 --- prefs.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'prefs.php') diff --git a/prefs.php b/prefs.php index f0ecae180..ad96ab15e 100644 --- a/prefs.php +++ b/prefs.php @@ -160,8 +160,7 @@ title="info_outline "> run_hooks(PluginHost::HOOK_PREFS_TABS, - "hook_prefs_tabs", false); + PluginHost::getInstance()->run_hooks(PluginHost::HOOK_PREFS_TABS); ?> -- cgit v1.2.3