summaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-07-09 15:13:20 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-07-09 18:33:46 +0200
commit08afce3d7e1221170948c460ac2d052d25070403 (patch)
tree9747a07c28fbe7e41dcf635fb0ae9ffbd69e40a1 /core/register_command.php
parentd52e197b0d7f467b553d5773cc9c89b7380c24d2 (diff)
downloadnextcloud-server-08afce3d7e1221170948c460ac2d052d25070403.tar.gz
nextcloud-server-08afce3d7e1221170948c460ac2d052d25070403.zip
[command] single user mode - use config object & add tests
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 8815eca6b6b..6cd81b4c3b7 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -61,7 +61,7 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
$application->add(new OC\Core\Command\Maintenance\MimeTypesJS());
$application->add(new OC\Core\Command\Maintenance\Mode(\OC::$server->getConfig()));
$application->add(new OC\Core\Command\Maintenance\Repair(new \OC\Repair(\OC\Repair::getRepairSteps()), \OC::$server->getConfig()));
- $application->add(new OC\Core\Command\Maintenance\SingleUser());
+ $application->add(new OC\Core\Command\Maintenance\SingleUser(\OC::$server->getConfig()));
$application->add(new OC\Core\Command\Upgrade(\OC::$server->getConfig()));