From 24448775c2520aa484005067d721169d48a18191 Mon Sep 17 00:00:00 2001 From: mark_story Date: Thu, 27 Aug 2009 23:08:23 -0400 Subject: [PATCH] Removing use of r() from core classes. --- cake/console/libs/console.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/console/libs/console.php b/cake/console/libs/console.php index 82427d9b4..5bfd1f8d3 100644 --- a/cake/console/libs/console.php +++ b/cake/console/libs/console.php @@ -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(); }