From bc7770aa83ef0fed5d523923ae91f4aad0a23c2b Mon Sep 17 00:00:00 2001 From: Ceeram Date: Mon, 8 Nov 2010 01:14:03 +0100 Subject: [PATCH] removing useless calls to mapActions() Signed-off-by: mark_story --- cake/libs/controller/components/auth.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/cake/libs/controller/components/auth.php b/cake/libs/controller/components/auth.php index 053514d19..759c5be36 100644 --- a/cake/libs/controller/components/auth.php +++ b/cake/libs/controller/components/auth.php @@ -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];