mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 08:55:55 +00:00
make pluginhost a singleton
This commit is contained in:
@@ -377,8 +377,7 @@ class Handler_Public extends Handler {
|
||||
|
||||
cleanup_tags(14, 50000);
|
||||
|
||||
global $pluginhost;
|
||||
$pluginhost->run_hooks($pluginhost::HOOK_UPDATE_TASK, "hook_update_task", $op);
|
||||
PluginHost::getInstance()->run_hooks(PluginHost::HOOK_UPDATE_TASK, "hook_update_task", $op);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user