summaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-01-14 16:10:17 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2016-01-19 14:29:12 +0100
commit56184f799eca847397e4bc20d562fd2f3bcbe7e1 (patch)
tree7200590d6bb3964c1f6edfa62be1f952a64946e3 /core/register_command.php
parent78a02d1b2f60fb04827673d1b5d6ccde2880157f (diff)
downloadnextcloud-server-56184f799eca847397e4bc20d562fd2f3bcbe7e1.tar.gz
nextcloud-server-56184f799eca847397e4bc20d562fd2f3bcbe7e1.zip
Make it possible to enable apps for groups only via occ
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 d167bec2638..e43994530b9 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -45,7 +45,7 @@ $application->add(new \OC\Core\Command\Integrity\SignCore(
if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
$application->add(new OC\Core\Command\App\Disable(\OC::$server->getAppManager()));
- $application->add(new OC\Core\Command\App\Enable());
+ $application->add(new OC\Core\Command\App\Enable(\OC::$server->getAppManager()));
$application->add(new OC\Core\Command\App\GetPath());
$application->add(new OC\Core\Command\App\ListApps(\OC::$server->getAppManager()));