]> git.wh0rd.org - tt-rss.git/blobdiff - update.php
fix pluginhost created without dbh
[tt-rss.git] / update.php
index 894ccb3272da31007003ae2e589f6ee3b3538f7c..1e653311d2b20b0296dfb1818fbce5b67476fbfa 100755 (executable)
        }
 
        if (isset($options["list-plugins"])) {
-               $tmppluginhost = new PluginHost();
+               $tmppluginhost = new PluginHost(Db::get());
                $tmppluginhost->load_all($tmppluginhost::KIND_ALL);
                $enabled = array_map("trim", explode(",", PLUGINS));