diff options
author | scolebrook <scolebrook@mac.com> | 2014-05-27 13:03:53 -0400 |
---|---|---|
committer | scolebrook <scolebrook@mac.com> | 2014-05-27 13:03:53 -0400 |
commit | 7151369e5fe41a35b364f583ee2883b83193cfe1 (patch) | |
tree | 744e77e7ca3c1698bf74e4bf60c7c02e9618bb0a /core/register_command.php | |
parent | e70ed36d8eb59f511e5f16b03869b742a4eed267 (diff) | |
download | nextcloud-server-7151369e5fe41a35b364f583ee2883b83193cfe1.tar.gz nextcloud-server-7151369e5fe41a35b364f583ee2883b83193cfe1.zip |
Add ability to enable/disable maintenance mode from cli.
Diffstat (limited to 'core/register_command.php')
-rw-r--r-- | core/register_command.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/register_command.php b/core/register_command.php index f1361c859fc..cad5606b2e1 100644 --- a/core/register_command.php +++ b/core/register_command.php @@ -12,6 +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\MMode()); $application->add(new OC\Core\Command\App\Disable()); $application->add(new OC\Core\Command\App\Enable()); $application->add(new OC\Core\Command\App\ListApps()); |