summaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-09-22 12:04:48 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-09-22 12:04:48 +0200
commita348a6f4507e28e6c5093669e17e10c42941007f (patch)
tree5bce0145fd673ecf0179fd2f2861bc1736688184 /core/register_command.php
parente655d32979c56c8ae231d44b8c3e864a33f16bf4 (diff)
downloadnextcloud-server-a348a6f4507e28e6c5093669e17e10c42941007f.tar.gz
nextcloud-server-a348a6f4507e28e6c5093669e17e10c42941007f.zip
no loner use deprecated class \OC_Config
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 b02988bbdd8..aaf10d946b2 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -12,7 +12,7 @@ $repair = new \OC\Repair(\OC\Repair::getRepairSteps());
$application->add(new OC\Core\Command\Status);
$application->add(new OC\Core\Command\Db\GenerateChangeScript());
$application->add(new OC\Core\Command\Db\ConvertType(OC_Config::getObject(), new \OC\DB\ConnectionFactory()));
-$application->add(new OC\Core\Command\Upgrade());
+$application->add(new OC\Core\Command\Upgrade(\OC::$server->getConfig()));
$application->add(new OC\Core\Command\Maintenance\SingleUser());
$application->add(new OC\Core\Command\Maintenance\Mode(OC_Config::getObject()));
$application->add(new OC\Core\Command\App\Disable());