mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Use the DI container also for the Install command registration
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
b09620651c
commit
567e99abe2
1 changed files with 1 additions and 1 deletions
|
|
@ -179,5 +179,5 @@ if (\OC::$server->getConfig()->getSystemValue('installed', false)) {
|
|||
$application->add(new OC\Core\Command\Security\RemoveCertificate(\OC::$server->getCertificateManager(null)));
|
||||
$application->add(new OC\Core\Command\Security\ResetBruteforceAttempts(\OC::$server->getBruteForceThrottler()));
|
||||
} else {
|
||||
$application->add(new OC\Core\Command\Maintenance\Install(\OC::$server->getSystemConfig()));
|
||||
$application->add(\OC::$server->get(\OC\Core\Command\Maintenance\Install::class));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue