aboutsummaryrefslogtreecommitdiffstats
path: root/core/register_command.php
diff options
context:
space:
mode:
authorscolebrook <scolebrook@mac.com>2014-05-28 16:26:13 -0400
committerscolebrook <scolebrook@mac.com>2014-05-28 16:26:13 -0400
commit43759f1f468fac8de4a8db0b8d94d004f6fb3745 (patch)
tree1ceb06281178d63f7dc031f137304146bf9bea95 /core/register_command.php
parent00f811f09c3c717c59bd1994d583d8ebfdefd380 (diff)
downloadnextcloud-server-43759f1f468fac8de4a8db0b8d94d004f6fb3745.tar.gz
nextcloud-server-43759f1f468fac8de4a8db0b8d94d004f6fb3745.zip
Use OC\Config instead of 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 801fd987912..8b1491a2cb7 100644
--- a/core/register_command.php
+++ b/core/register_command.php
@@ -12,7 +12,7 @@ $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\Maintenance\SingleUser());
-$application->add(new OC\Core\Command\Maintenance\Mode());
+$application->add(new OC\Core\Command\Maintenance\Mode(OC_Config::getObject()));
$application->add(new OC\Core\Command\App\Disable());
$application->add(new OC\Core\Command\App\Enable());
$application->add(new OC\Core\Command\App\ListApps());