diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-08-20 15:31:16 +0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-08-20 17:35:38 +0300 |
commit | 567e99abe29024742c168d85d3ce0f5030f7c7a2 (patch) | |
tree | 2853ac2c4a11aca6bb04a981e42ecf37deee2fa9 | |
parent | b09620651cbb72e5a623d47ed409e949b114c7cf (diff) |
Use the DI container also for the Install command registration
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
-rw-r--r-- | core/register_command.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/register_command.php b/core/register_command.php index c2a3f76b6c3..98f453bca5a 100644 --- a/core/register_command.php +++ b/core/register_command.php @@ -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)); } |