diff options
author | scolebrook <scolebrook@mac.com> | 2014-05-28 16:26:13 -0400 |
---|---|---|
committer | scolebrook <scolebrook@mac.com> | 2014-05-28 16:26:13 -0400 |
commit | 43759f1f468fac8de4a8db0b8d94d004f6fb3745 (patch) | |
tree | 1ceb06281178d63f7dc031f137304146bf9bea95 /core/register_command.php | |
parent | 00f811f09c3c717c59bd1994d583d8ebfdefd380 (diff) | |
download | nextcloud-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.php | 2 |
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()); |