summaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-10-24 14:13:45 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-10-24 14:13:45 +0200
commitdd192e5df94f92bb756b8712c9ec1a57755b7c1b (patch)
treee99640ec452e6a2ec3d872f954287d9d13901510 /core/register_command.php
parent3eaf23f29f67dbb6077121cc24beaddd8d587504 (diff)
downloadnextcloud-server-dd192e5df94f92bb756b8712c9ec1a57755b7c1b.tar.gz
nextcloud-server-dd192e5df94f92bb756b8712c9ec1a57755b7c1b.zip
Use proper DI for repair command
Signed-off-by: Morris Jobke <hey@morrisjobke.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 3cba0565993..1b91d2005b9 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -136,7 +136,7 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
$application->add(new OC\Core\Command\Upgrade(\OC::$server->getConfig(), \OC::$server->getLogger()));
$application->add(new OC\Core\Command\Maintenance\Repair(
new \OC\Repair(\OC\Repair::getRepairSteps(), \OC::$server->getEventDispatcher()), \OC::$server->getConfig(),
- \OC::$server->getEventDispatcher()));
+ \OC::$server->getEventDispatcher(), \OC::$server->getAppManager()));
$application->add(new OC\Core\Command\User\Add(\OC::$server->getUserManager(), \OC::$server->getGroupManager()));
$application->add(new OC\Core\Command\User\Delete(\OC::$server->getUserManager()));