diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2016-04-26 16:24:50 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2016-04-28 13:52:01 +0200 |
commit | cdcd49b473dc7bad4ffb500977b2b8ea5d6f676e (patch) | |
tree | 3ea910a2853ecff486e922c4f16c4c90a923badf /core/register_command.php | |
parent | ba0099f73abc133cfc88ad2d7a25b86677d1c111 (diff) | |
download | nextcloud-server-cdcd49b473dc7bad4ffb500977b2b8ea5d6f676e.tar.gz nextcloud-server-cdcd49b473dc7bad4ffb500977b2b8ea5d6f676e.zip |
Adding progress to occ maintenance:repair
Diffstat (limited to 'core/register_command.php')
-rw-r--r-- | core/register_command.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/register_command.php b/core/register_command.php index 0b1a019f993..798497d97d2 100644 --- a/core/register_command.php +++ b/core/register_command.php @@ -112,7 +112,9 @@ 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->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\Upgrade(\OC::$server->getConfig(), \OC::$server->getLogger())); |