remove some unused variables

This commit is contained in:
Manuel Raynaud
2014-01-22 15:50:40 +01:00
parent 1974d3e3c3
commit 1b2c1d53ac
40 changed files with 82 additions and 182 deletions

View File

@@ -44,7 +44,7 @@ class TheliaConsoleOutput extends ConsoleOutput
foreach ($messages as $message) {
$length = ($strlen($message) > $length) ? $strlen($message) : $length;
}
$ouput = array();
$output = array();
foreach ($messages as $message) {
$output[] = "<" . $style . ">" . " " . $message . str_repeat(' ', $length - $strlen($message)) . " </" . $style . ">";
}

View File

@@ -56,7 +56,7 @@ class UpdateCommand extends ContainerAwareCommand
$update = new Update();
try {
$updatedVersions = $update->process();
$update->process();
$output->writeln(array(
'',
@@ -64,8 +64,6 @@ class UpdateCommand extends ContainerAwareCommand
''
));
} catch (PropelException $e) {
$errorMsg = $e->getMessage();
$output->writeln(array(
'',
sprintf('<error>Error during update process with message : %s</error>', $e->getMessage()),