Changed class name to mode
This commit is contained in:
parent
7151369e5f
commit
00f811f09c
|
@ -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',
|
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue