diff options
author | Morris Jobke <hey@morrisjobke.de> | 2020-08-20 14:31:16 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-08-20 16:35:38 +0200 |
commit | 567e99abe29024742c168d85d3ce0f5030f7c7a2 (patch) | |
tree | 2853ac2c4a11aca6bb04a981e42ecf37deee2fa9 /core/register_command.php | |
parent | b09620651cbb72e5a623d47ed409e949b114c7cf (diff) | |
download | nextcloud-server-567e99abe29024742c168d85d3ce0f5030f7c7a2.tar.gz nextcloud-server-567e99abe29024742c168d85d3ce0f5030f7c7a2.zip |
Use the DI container also for the Install command registration
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core/register_command.php')
-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)); } |