Changed getConnection return to get the name of the connection

This commit is contained in:
William DURAND 2011-04-19 14:32:38 +02:00
commit 7fbd755f05
5 changed files with 11 additions and 32 deletions

View file

@ -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'],