summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
authorRasmus Lerdorf <[email protected]>2013-05-07 00:35:10 -0700
committerRasmus Lerdorf <[email protected]>2013-05-07 00:35:10 -0700
commit6f7798b6434f5ef6073447998c436901b507e3df (patch)
tree0dfe18b247ee81f7dbd2f4df37631dcd040edef8 /update.php
parent2c967d60237c5890549b9c9fa680ee7adec10e6a (diff)
Fixing bugs found by static analysis
Diffstat (limited to 'update.php')
-rwxr-xr-xupdate.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/update.php b/update.php
index d4160c7ba..f542a390b 100755
--- a/update.php
+++ b/update.php
@@ -321,7 +321,7 @@
}
if (isset($options["list-plugins"])) {
- $tmppluginhost = new PluginHost(Db::get());
+ $tmppluginhost = new PluginHost();
$tmppluginhost->load_all($tmppluginhost::KIND_ALL);
$enabled = array_map("trim", explode(",", PLUGINS));