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

fix pluginhost created without dbh

This commit is contained in:
Andrew Dolgov
2013-04-17 18:30:22 +04:00
parent a0ed0d38d4
commit 72ff013729
2 changed files with 2 additions and 2 deletions

View File

@@ -769,7 +769,7 @@ class Pref_Prefs extends Handler_Protected {
$system_enabled = array_map("trim", explode(",", PLUGINS));
$user_enabled = array_map("trim", explode(",", get_pref( "_ENABLED_PLUGINS")));
$tmppluginhost = new PluginHost();
$tmppluginhost = new PluginHost(Db::get());
$tmppluginhost->load_all($tmppluginhost::KIND_ALL, $_SESSION["uid"]);
$tmppluginhost->load_data(true);