Skip to content

Commit

Permalink
rename method
Browse files Browse the repository at this point in the history
  • Loading branch information
euromark committed Jan 6, 2014
1 parent 3e48d2e commit 483cd13
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/Cake/Console/Command/UpgradeShell.php
Expand Up @@ -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']);
Expand Down Expand Up @@ -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.'),
Expand Down

0 comments on commit 483cd13

Please sign in to comment.