Changed getConnection return to get the name of the connection
This commit is contained in:
parent
5576005b6d
commit
7fbd755f05
5 changed files with 11 additions and 32 deletions
|
|
@ -45,7 +45,7 @@ EOT
|
|||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
if ($input->getOption('force')) {
|
||||
$defaultConfig = $this->getConnection($input, $output);
|
||||
list($name, $defaultConfig) = $this->getConnection($input, $output);
|
||||
|
||||
$this->callPhing('insert-sql', array(
|
||||
'propel.database.url' => $defaultConfig['connection']['dsn'],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue