From 72ff0137298f60970c664f0be24327b120bf4ac7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 17 Apr 2013 18:30:22 +0400 Subject: fix pluginhost created without dbh --- update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'update.php') diff --git a/update.php b/update.php index 894ccb327..1e653311d 100755 --- a/update.php +++ b/update.php @@ -347,7 +347,7 @@ } 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)); -- cgit v1.2.3-54-g00ecf