Removing use of r() from core classes.

This commit is contained in:
mark_story 2009-08-27 23:08:23 -04:00
parent 81865bc960
commit 24448775c2

View file

@ -68,7 +68,7 @@ class ConsoleShell extends Shell {
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();
}