File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change @@ -45,15 +45,6 @@ class Shell extends Object {
45
45
*/
46
46
public $ interactive = true ;
47
47
48
- /**
49
- * Holds the DATABASE_CONFIG object for the app. Null if database.php could not be found,
50
- * or the app does not exist.
51
- *
52
- * @var DATABASE_CONFIG
53
- * @access public
54
- */
55
- public $ DbConfig = null ;
56
-
57
48
/**
58
49
* Contains command switches parsed from the command line.
59
50
*
@@ -236,22 +227,6 @@ protected function _welcome() {
236
227
$ this ->hr ();
237
228
}
238
229
239
- /**
240
- * Loads database file and constructs DATABASE_CONFIG class
241
- * makes $this->DbConfig available to subclasses
242
- *
243
- * @return bool
244
- */
245
- protected function _loadDbConfig () {
246
- if (config ('database ' ) && class_exists ('DATABASE_CONFIG ' )) {
247
- $ this ->DbConfig =& new DATABASE_CONFIG ();
248
- return true ;
249
- }
250
- $ this ->err ('Database config could not be loaded. ' );
251
- $ this ->out ('Run `bake` to create the database configuration. ' );
252
- return false ;
253
- }
254
-
255
230
/**
256
231
* if public $uses = true
257
232
* Loads AppModel file and constructs AppModel class
You can’t perform that action at this time.
0 commit comments