diff --git a/cake/console/libs/shell.php b/cake/console/libs/shell.php index d0fd9022d..720cfcc7e 100644 --- a/cake/console/libs/shell.php +++ b/cake/console/libs/shell.php @@ -45,15 +45,6 @@ class Shell extends Object { */ public $interactive = true; -/** - * Holds the DATABASE_CONFIG object for the app. Null if database.php could not be found, - * or the app does not exist. - * - * @var DATABASE_CONFIG - * @access public - */ - public $DbConfig = null; - /** * Contains command switches parsed from the command line. * @@ -236,22 +227,6 @@ class Shell extends Object { $this->hr(); } -/** - * Loads database file and constructs DATABASE_CONFIG class - * makes $this->DbConfig available to subclasses - * - * @return bool - */ - protected function _loadDbConfig() { - if (config('database') && class_exists('DATABASE_CONFIG')) { - $this->DbConfig =& new DATABASE_CONFIG(); - return true; - } - $this->err('Database config could not be loaded.'); - $this->out('Run `bake` to create the database configuration.'); - return false; - } - /** * if public $uses = true * Loads AppModel file and constructs AppModel class