aboutsummaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-01-14 16:08:18 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2016-01-19 14:29:01 +0100
commitd2285113a891fa2e34f4615c4b30490098577649 (patch)
tree4f5b4850c6c6fadb3a11c4b14a5c503ed8a973cb /core/register_command.php
parentbf9f4f20e152e31c8f3cdf43f0bbc86c58fff409 (diff)
downloadnextcloud-server-d2285113a891fa2e34f4615c4b30490098577649.tar.gz
nextcloud-server-d2285113a891fa2e34f4615c4b30490098577649.zip
Make sure to list "group enabled" apps as enabled
also when they are not enabled for the current user
Diffstat (limited to 'core/register_command.php')
-rw-r--r--core/register_command.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/register_command.php b/core/register_command.php
index a7dd7414790..42e2d29ecea 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -47,7 +47,7 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
$application->add(new OC\Core\Command\App\Disable());
$application->add(new OC\Core\Command\App\Enable());
$application->add(new OC\Core\Command\App\GetPath());
- $application->add(new OC\Core\Command\App\ListApps());
+ $application->add(new OC\Core\Command\App\ListApps(\OC::$server->getAppManager()));
$application->add(new OC\Core\Command\Background\Cron(\OC::$server->getConfig()));
$application->add(new OC\Core\Command\Background\WebCron(\OC::$server->getConfig()));