From a4740f02f1cac194b5013c63704f2da9c09c0831 Mon Sep 17 00:00:00 2001 From: mark_story Date: Sun, 29 Jan 2012 13:56:53 -0500 Subject: [PATCH] Remove odd inflection. This additional inflection isn't needed. People can type the classname they want. Refs #2514 --- lib/Cake/Controller/Component/AclComponent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Controller/Component/AclComponent.php b/lib/Cake/Controller/Component/AclComponent.php index 03e5fc730..e5842a740 100644 --- a/lib/Cake/Controller/Component/AclComponent.php +++ b/lib/Cake/Controller/Component/AclComponent.php @@ -57,7 +57,7 @@ class AclComponent extends Component { */ public function __construct(ComponentCollection $collection, $settings = array()) { parent::__construct($collection, $settings); - $name = Inflector::camelize(strtolower(Configure::read('Acl.classname'))); + $name = Configure::read('Acl.classname'); if (!class_exists($name)) { list($plugin, $name) = pluginSplit($name, true); App::uses($name . 'Component', $plugin . 'Controller/Component');