mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 18:35:57 +00:00
pluginhost: rework run_hooks() to be shorter, add callback variant; implement exception handling for both
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user