[Pkg-owncloud-commits] [owncloud] 127/239: rename app_id to app-id

David Prévot taffit at moszumanska.debian.org
Fri Nov 29 01:32:28 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit fc1d897ea5d0b6f702f3c649637f5a83693d1ac3
Author: Robin Appelman <icewind at owncloud.com>
Date:   Mon Nov 25 17:28:01 2013 +0100

    rename app_id to app-id
---
 core/command/app/disable.php | 4 ++--
 core/command/app/enable.php  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/core/command/app/disable.php b/core/command/app/disable.php
index fc95739..dcdee92 100644
--- a/core/command/app/disable.php
+++ b/core/command/app/disable.php
@@ -19,14 +19,14 @@ class Disable extends Command {
 			->setName('app:disable')
 			->setDescription('disable an app')
 			->addArgument(
-				'app_id',
+				'app-id',
 				InputArgument::REQUIRED,
 				'disable the specified app'
 			);
 	}
 
 	protected function execute(InputInterface $input, OutputInterface $output) {
-		$appId = $input->getArgument('app_id');
+		$appId = $input->getArgument('app-id');
 		if (\OC_App::isEnabled($appId)) {
 			\OC_App::disable($appId);
 			$output->writeln($appId . ' disabled');
diff --git a/core/command/app/enable.php b/core/command/app/enable.php
index 20cb55c..f085466 100644
--- a/core/command/app/enable.php
+++ b/core/command/app/enable.php
@@ -19,14 +19,14 @@ class Enable extends Command {
 			->setName('app:enable')
 			->setDescription('enable an app')
 			->addArgument(
-				'app_id',
+				'app-id',
 				InputArgument::REQUIRED,
 				'enable the specified app'
 			);
 	}
 
 	protected function execute(InputInterface $input, OutputInterface $output) {
-		$appId = $input->getArgument('app_id');
+		$appId = $input->getArgument('app-id');
 		if (\OC_App::isEnabled($appId)) {
 			$output->writeln($appId . ' is already enabled');
 		} else if (!\OC_App::getAppPath($appId)) {

-- 
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