diff options
author | scolebrook <scolebrook@mac.com> | 2014-05-28 09:41:34 -0400 |
---|---|---|
committer | scolebrook <scolebrook@mac.com> | 2014-05-28 09:41:34 -0400 |
commit | 00f811f09c3c717c59bd1994d583d8ebfdefd380 (patch) | |
tree | 6f72a61add5f6a8c953eb3be7de42cfc7f18e596 | |
parent | 7151369e5fe41a35b364f583ee2883b83193cfe1 (diff) | |
download | nextcloud-server-00f811f09c3c717c59bd1994d583d8ebfdefd380.tar.gz nextcloud-server-00f811f09c3c717c59bd1994d583d8ebfdefd380.zip |
Changed class name to mode
-rw-r--r-- | core/command/maintenance/mode.php (renamed from core/command/maintenance/mmode.php) | 4 | ||||
-rw-r--r-- | core/register_command.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/command/maintenance/mmode.php b/core/command/maintenance/mode.php index be007c5f4d3..b4a7408d015 100644 --- a/core/command/maintenance/mmode.php +++ b/core/command/maintenance/mode.php @@ -14,11 +14,11 @@ use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Output\OutputInterface; -class MMode extends Command { +class Mode extends Command { protected function configure() { $this - ->setName('maintenance:mmode') + ->setName('maintenance:mode') ->setDescription('set maintenance mode') ->addOption( 'on', diff --git a/core/register_command.php b/core/register_command.php index cad5606b2e1..801fd987912 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\MMode()); +$application->add(new OC\Core\Command\Maintenance\Mode()); $application->add(new OC\Core\Command\App\Disable()); $application->add(new OC\Core\Command\App\Enable()); $application->add(new OC\Core\Command\App\ListApps()); |