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