mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
removing useless calls to mapActions()
Signed-off-by: mark_story <mark@mark-story.com>
This commit is contained in:
parent
e431e86aa4
commit
bc7770aa83
1 changed files with 0 additions and 2 deletions
|
@ -527,7 +527,6 @@ class AuthComponent extends Object {
|
|||
$valid = $this->Acl->check($user, $this->action());
|
||||
break;
|
||||
case 'crud':
|
||||
$this->mapActions();
|
||||
if (!isset($this->actionMap[$this->params['action']])) {
|
||||
trigger_error(
|
||||
sprintf(__('Auth::startup() - Attempted access of un-mapped action "%1$s" in controller "%2$s"', true), $this->params['action'], $this->params['controller']),
|
||||
|
@ -542,7 +541,6 @@ class AuthComponent extends Object {
|
|||
}
|
||||
break;
|
||||
case 'model':
|
||||
$this->mapActions();
|
||||
$action = $this->params['action'];
|
||||
if (isset($this->actionMap[$action])) {
|
||||
$action = $this->actionMap[$action];
|
||||
|
|
Loading…
Add table
Reference in a new issue