summaryrefslogtreecommitdiff
path: root/prefs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-08 14:24:45 +0300
committerAndrew Dolgov <[email protected]>2021-02-08 14:24:45 +0300
commit1eb1629d9e55519f03b67b6acf3a046d356e73ec (patch)
treea202a435626cd7887f049898fc3a50fda09268da /prefs.php
parent20b56b5b237a68d69218fea7fd9a8d1a4d1f2a0f (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.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/prefs.php b/prefs.php
index f0ecae180..ad96ab15e 100644
--- a/prefs.php
+++ b/prefs.php
@@ -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); ?>