Skip to content
Permalink
Browse files

Updated upgrade shell to change CakeRequest::onlyAllow() usages.

  • Loading branch information...
ADmad committed Feb 10, 2014
1 parent 1da7908 commit d838e7b56f0797d8401f4b62a0100f3fdc56ad90
Showing with 5 additions and 0 deletions.
  1. +5 −0 lib/Cake/Console/Command/UpgradeShell.php
@@ -392,6 +392,11 @@ public function request() {
'/(\$this->action\b(?!\())/',
'$this->request->action'
),
array(
'$this->request->onlyAllow() -> $this->request->allowMethod()',
'/\$this->request->onlyAllow\(/',
'$this->request->allowMethod('
)
);
$this->_filesRegexpUpdate($patterns);
}

0 comments on commit d838e7b

Please sign in to comment.
You can’t perform that action at this time.