Navigation Menu

Skip to content

Commit

Permalink
Remove odd inflection.
Browse files Browse the repository at this point in the history
This additional inflection isn't needed.  People can type the classname
they want.

Refs #2514
  • Loading branch information
markstory committed Jan 29, 2012
1 parent e770c7a commit a4740f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cake/Controller/Component/AclComponent.php
Expand Up @@ -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');
Expand Down

0 comments on commit a4740f0

Please sign in to comment.