Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removing use of r() from core classes.

  • Loading branch information...
commit 24448775c2520aa484005067d721169d48a18191 1 parent 81865bc
Mark Story markstory authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  cake/console/libs/console.php
2  cake/console/libs/console.php
View
@@ -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();
}
Please sign in to comment.
Something went wrong with that request. Please try again.