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:
authorDaniel Kesselberg <mail@danielkesselberg.de>2019-01-27 14:28:57 +0300
committerDaniel Kesselberg <mail@danielkesselberg.de>2019-02-19 23:03:00 +0300
commit08907ee3e9a4267daa2268f20ed9dee3c9cc3328 (patch)
tree3f15f2dd0d6e6726795bbc19002092eda39208b4 /core/register_command.php
parent168ad09e8230a171c78f2bd4eacd7af63403b6fa (diff)
Enable multiple apps at once
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
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 15bb37e4338..6bd1b1b18a9 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -61,7 +61,7 @@ $application->add(new \OC\Core\Command\Integrity\CheckCore(
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(\OC::$server->getAppManager()));
+ $application->add(new OC\Core\Command\App\Enable(\OC::$server->getAppManager(), \OC::$server->getGroupManager()));
$application->add(new OC\Core\Command\App\Install());
$application->add(new OC\Core\Command\App\GetPath());
$application->add(new OC\Core\Command\App\ListApps(\OC::$server->getAppManager()));