From ac87db981a280d93d8dfa89a12d9275cd92ad2b2 Mon Sep 17 00:00:00 2001 From: mark_story Date: Thu, 18 Dec 2008 14:31:53 +0000 Subject: [PATCH] Fixing typos in doc blocks. Fixes #5898 git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7941 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/controller/components/auth.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cake/libs/controller/components/auth.php b/cake/libs/controller/components/auth.php index 7cb45e1c8..f5fc186f4 100644 --- a/cake/libs/controller/components/auth.php +++ b/cake/libs/controller/components/auth.php @@ -63,7 +63,7 @@ class AuthComponent extends Object { * 'controller' will validate against Controller::isAuthorized() * 'actions' will validate Controller::action against an AclComponent::check() * 'crud' will validate mapActions against an AclComponent::check() - * array('model'=> 'name'); will validate mapActions against model $name::isAuthorize(user, controller, mapAction) + * array('model'=> 'name'); will validate mapActions against model $name::isAuthorized(user, controller, mapAction) * 'object' will validate Controller::action against object::isAuthorized(user, controller, action) * * @var mixed @@ -438,7 +438,7 @@ class AuthComponent extends Object { * 'actions' will validate Controller::action against an AclComponent::check() * 'crud' will validate mapActions against an AclComponent::check() * array('model'=> 'name'); will validate mapActions against model - * $name::isAuthorize(user, controller, mapAction) + * $name::isAuthorized(user, controller, mapAction) * 'object' will validate Controller::action against * object::isAuthorized(user, controller, action) *