[command] Fixed output (for real)

This commit is contained in:
William DURAND 2011-08-31 16:12:56 +02:00
commit f18df260fe
7 changed files with 50 additions and 35 deletions

View file

@ -141,7 +141,7 @@ EOT
));
if ($ret === false) {
$this->writeTaskError('datasql');
$this->writeTaskError($output, 'datasql');
return -2;
}
@ -253,7 +253,7 @@ EOT
if (true === $ret) {
$output->writeln('<info>[Propel] All SQL statements have been executed.</info>');
} else {
$this->writeTaskError('insert-sql', false);
$this->writeTaskError($output, 'insert-sql', false);
return false;
}