remove some unused variables
This commit is contained in:
@@ -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 . ">";
|
||||
}
|
||||
|
||||
@@ -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()),
|
||||
|
||||
Reference in New Issue
Block a user