[Pkg-owncloud-commits] [owncloud] 88/199: Changed class name to mode
David Prévot
taffit at moszumanska.debian.org
Sun Jun 1 18:53:12 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 00f811f09c3c717c59bd1994d583d8ebfdefd380
Author: scolebrook <scolebrook at mac.com>
Date: Wed May 28 09:41:34 2014 -0400
Changed class name to mode
---
core/command/maintenance/{mmode.php => mode.php} | 4 ++--
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
similarity index 95%
rename from core/command/maintenance/mmode.php
rename to core/command/maintenance/mode.php
index be007c5..b4a7408 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 cad5606..801fd98 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());
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list