diff options
-rwxr-xr-x | util/addons | 12 | ||||
-rw-r--r-- | version.inc | 2 |
2 files changed, 8 insertions, 6 deletions
diff --git a/util/addons b/util/addons index 602cc228e..2c128c50e 100755 --- a/util/addons +++ b/util/addons @@ -10,6 +10,7 @@ echo <<< EOT util/addons list all # list all addons (*)= installed, (!)= disabled due to version compatibility util/addons install foo # install addon named 'foo' util/addons uninstall foo # uninstall addon named 'foo' + EOT; } @@ -58,12 +59,13 @@ if($argc == 1) { if($argc == 2 && $argv[1] === 'list') { - $r = q("select * from addon where installed = 1"); - if($r) { - foreach($r as $rr) { - echo $rr['name'] . "\n"; + if($plugins) { + foreach($plugins as $p) { + if($p[1]) { + echo $p[0] . "\n"; + } } - } + } killme(); } diff --git a/version.inc b/version.inc index 99ad03d87..a2d8d6da6 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2016-01-12.1276H +2016-01-13.1277H |