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 /prefs.php | |
parent | 20b56b5b237a68d69218fea7fd9a8d1a4d1f2a0f (diff) |
pluginhost: rework run_hooks() to be shorter, add callback variant; implement exception handling for both
Diffstat (limited to 'prefs.php')
-rw-r--r-- | prefs.php | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -160,8 +160,7 @@ title="<i class='material-icons'>info_outline</i> <?php echo __('System') ?>"></div> <?php } ?> <?php - PluginHost::getInstance()->run_hooks(PluginHost::HOOK_PREFS_TABS, - "hook_prefs_tabs", false); + PluginHost::getInstance()->run_hooks(PluginHost::HOOK_PREFS_TABS); ?> </div> <?php $version = get_version($git_commit, $git_timestamp, $last_error); ?> |