Browse Source

Copy the connection option onto a property.

mark_story 12 years ago
parent
commit
2b0aadad7e
1 changed files with 3 additions and 7 deletions
  1. 3 7
      src/Console/Command/Task/BakeTask.php

+ 3 - 7
src/Console/Command/Task/BakeTask.php

@@ -41,13 +41,6 @@ class BakeTask extends Shell {
 	public $connection = null;
 
 /**
- * Flag for interactive mode
- *
- * @var boolean
- */
-	public $interactive = false;
-
-/**
  * Disable caching and enable debug for baking.
  * This forces the most current database schema to be used.
  *
@@ -89,6 +82,9 @@ class BakeTask extends Shell {
 		if (isset($this->params['plugin'])) {
 			$this->plugin = $this->params['plugin'];
 		}
+		if (isset($this->params['connection'])) {
+			$this->connection = $this->params['connection'];
+		}
 	}
 
 }