From 43759f1f468fac8de4a8db0b8d94d004f6fb3745 Mon Sep 17 00:00:00 2001 From: scolebrook Date: Wed, 28 May 2014 16:26:13 -0400 Subject: Use OC\Config instead of OC_Config --- core/register_command.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/register_command.php') 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()); -- cgit v1.2.3