1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-09 23:01:32 +00:00

don't init plugins when loading everything to make a list, duh

This commit is contained in:
Andrew Dolgov
2015-10-08 17:02:32 +03:00
parent 9cc29abd41
commit 583f163f40
3 changed files with 8 additions and 8 deletions

View File

@@ -746,7 +746,7 @@ class Pref_Prefs extends Handler_Protected {
$user_enabled = array_map("trim", explode(",", get_pref("_ENABLED_PLUGINS")));
$tmppluginhost = new PluginHost();
$tmppluginhost->load_all($tmppluginhost::KIND_ALL, $_SESSION["uid"]);
$tmppluginhost->load_all($tmppluginhost::KIND_ALL, $_SESSION["uid"], true);
$tmppluginhost->load_data(true);
foreach ($tmppluginhost->get_plugins() as $name => $plugin) {