Skip to content
Permalink
Browse files

Updating model import()

  • Loading branch information...
markstory committed Jul 30, 2009
1 parent 6322375 commit 8e152ada3208f8a73aef3cd945d885bd8e6a0e3e
Showing with 1 addition and 3 deletions.
  1. +1 −3 cake/console/libs/tasks/model.php
@@ -20,8 +20,6 @@
* @since CakePHP(tm) v 1.2
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
*/
App::import('Model', 'ConnectionManager');
/**
* Task class for creating and updating model files.
*
@@ -82,7 +80,7 @@ class ModelTask extends Shell {
* @return void
**/
function startup() {
App::import('Core', 'Model');
App::import('Core', 'Model', false, App::core('models'));
parent::startup();
}

0 comments on commit 8e152ad

Please sign in to comment.
You can’t perform that action at this time.