Fix double printing of models in ConsoleShell.

Fixes #3952
This commit is contained in:
mark_story 2013-07-31 23:41:49 -04:00 committed by AD7six
parent 69be4bb1e8
commit 5bd45ec65d

View file

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