1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 13:45:56 +00:00

pluginhost: load plugin data automatically (also marks load_data method as private)

This commit is contained in:
Andrew Dolgov
2021-01-15 08:32:06 +03:00
parent f67f0f864b
commit 40f38fc87f
7 changed files with 18 additions and 11 deletions

View File

@@ -911,7 +911,7 @@ class Pref_Prefs extends Handler_Protected {
$tmppluginhost = new PluginHost();
$tmppluginhost->load_all($tmppluginhost::KIND_ALL, $_SESSION["uid"], true);
$tmppluginhost->load_data(true);
//$tmppluginhost->load_data(true);
foreach ($tmppluginhost->get_plugins() as $name => $plugin) {
$about = $plugin->about();