Permalink
Browse files

Removing use of r() from core classes.

  • Loading branch information...
1 parent 81865bc commit 24448775c2520aa484005067d721169d48a18191 @markstory markstory committed Aug 28, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/console/libs/console.php
View
2 cake/console/libs/console.php
@@ -68,7 +68,7 @@ function initialize() {
App::import('Model', $this->models);
foreach ($this->models as $model) {
- $class = Inflector::camelize(r('.php', '', $model));
+ $class = Inflector::camelize(str_replace('.php', '', $model));
$this->models[$model] = $class;
$this->{$class} =& new $class();
}

0 comments on commit 2444877

Please sign in to comment.