Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-01-14 18:08:18 +0300
committerJoas Schilling <nickvergessen@owncloud.com>2016-01-19 16:29:01 +0300
commitd2285113a891fa2e34f4615c4b30490098577649 (patch)
tree4f5b4850c6c6fadb3a11c4b14a5c503ed8a973cb /core/register_command.php
parentbf9f4f20e152e31c8f3cdf43f0bbc86c58fff409 (diff)
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()));