summaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2016-10-20 17:06:10 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-10-24 17:52:49 +0200
commit817729dc3fc9a8233bfb4049f94c5f2136070ec9 (patch)
tree2dfea148dd5b50ae0413f8ac93f967fa5aebe1bf /core/register_command.php
parentcfae91ab640676bb0c65a6293b74d9c252f9f089 (diff)
downloadnextcloud-server-817729dc3fc9a8233bfb4049f94c5f2136070ec9.tar.gz
nextcloud-server-817729dc3fc9a8233bfb4049f94c5f2136070ec9.zip
add upgrade command before repair, handle NeedsUpgradeExcaption better
Diffstat (limited to 'core/register_command.php')
-rw-r--r--core/register_command.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/register_command.php b/core/register_command.php
index 89b0cf31ef4..6f31adafe92 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -123,13 +123,13 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
$application->add(new OC\Core\Command\Maintenance\Mimetype\UpdateDB(\OC::$server->getMimeTypeDetector(), \OC::$server->getMimeTypeLoader()));
$application->add(new OC\Core\Command\Maintenance\Mimetype\UpdateJS(\OC::$server->getMimeTypeDetector()));
$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->getEventDispatcher()), \OC::$server->getConfig(),
- \OC::$server->getEventDispatcher()));
$application->add(new OC\Core\Command\Maintenance\SingleUser(\OC::$server->getConfig()));
$application->add(new OC\Core\Command\Maintenance\UpdateHtaccess());
$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()));
$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()));