Permalink
Browse files

Remove odd inflection.

This additional inflection isn't needed.  People can type the classname
they want.

Refs #2514
  • Loading branch information...
1 parent e770c7a commit a4740f02f1cac194b5013c63704f2da9c09c0831 @markstory markstory committed Jan 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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');

0 comments on commit a4740f0

Please sign in to comment.