Skip to content

Commit

Permalink
Update bakeshell so bake all gets the correct connection name.
Browse files Browse the repository at this point in the history
Fixes #3972
  • Loading branch information
markstory committed Aug 9, 2013
1 parent 49d66af commit 86dcebf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Cake/Console/Command/BakeShell.php
Expand Up @@ -66,6 +66,9 @@ public function startup() {
$this->{$task}->connection = $this->params['connection'];
}
}
if (isset($this->params['connection'])) {
$this->connection = $this->params['connection'];
}
}

/**
Expand Down

0 comments on commit 86dcebf

Please sign in to comment.