Permalink
Browse files

rename method

  • Loading branch information...
1 parent 3e48d2e commit 483cd13a26900b5302b41dea7063b4b7d66e46f2 @dereuromark dereuromark committed Jan 6, 2014
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/Cake/Console/Command/UpgradeShell.php
@@ -501,13 +501,13 @@ public function constants() {
}
/**
- * Update controllers.
+ * Update controller redirects.
*
* - Make redirect statements return early.
*
* @return void
*/
- public function controllers() {
+ public function controller_redirects() {
$this->_paths = App::Path('Controller');
if (!empty($this->params['plugin'])) {
$this->_paths = App::Path('Controller', $this->params['plugin']);
@@ -863,8 +863,8 @@ public function getOptionParser() {
))->addSubcommand('constants', array(
'help' => __d('cake_console', "Replace Obsolete constants"),
'parser' => $subcommandParser
- ))->addSubcommand('controllers', array(
- 'help' => __d('cake_console', 'Update controllers.'),
+ ))->addSubcommand('controller_redirects', array(
+ 'help' => __d('cake_console', 'Return early on controller redirect calls.'),
'parser' => $subcommandParser
))->addSubcommand('components', array(
'help' => __d('cake_console', 'Update components to extend Component class.'),

0 comments on commit 483cd13

Please sign in to comment.