Fix double printing of models in ConsoleShell.

Fixes #3952
This commit is contained in:
mark_story 2013-07-31 23:41:49 -04:00
parent 95b74bd9ef
commit 810fd28186

View file

@ -55,7 +55,6 @@ class ConsoleShell extends AppShell {
foreach ($this->models as $model) {
$class = $model;
$this->models[$model] = $class;
App::uses($class, 'Model');
$this->{$class} = new $class();
}