Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-08-20 20:45:47 +0300
committerGitHub <noreply@github.com>2020-08-20 20:45:47 +0300
commit987f62117351a658dc8c0916e38cfb0b7ca60982 (patch)
tree71baa54377f3bc4daf0329f08fa568f3e51e16ea /core/register_command.php
parented1f89ae1023cff43d50f0cf027337eed872a31e (diff)
parent590d46121097d8b7dcd6f722b95f9dc4bdee653e (diff)
Merge pull request #22331 from nextcloud/bugfix/noid/dont-use-deprecated-inigetwrapper
Don't use deprecated getIniWrapper() anymore
Diffstat (limited to 'core/register_command.php')
-rw-r--r--core/register_command.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/register_command.php b/core/register_command.php
index e05cff3e37f..c83d0c28a98 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -187,5 +187,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));
}