Fix neutron comments

This commit is contained in:
Nicolas Le Goff
2013-11-14 18:37:33 +01:00
parent d8ea06b521
commit 4c58b141ee
9 changed files with 104 additions and 95 deletions

View File

@@ -68,15 +68,11 @@ class module_console_systemUpgrade extends Command
try {
$upgrader = new Setup_Upgrade($this->container, $input->getOption('force'));
$queries = $this->getService('phraseanet.appbox')->forceUpgrade($upgrader, $this->container);
} catch (\Exception_Setup_FixBadEmailAddresses $e) {
return $output->writeln(sprintf('<error>You have to fix your database before upgrade with the system:mailCheck command </error>'));
} catch (\Exception $e) {
$output->write('<info>'.$e->getMessage().'</info>', true);
var_dump($e->getTraceAsString());
}
$queries = $this->getService('phraseanet.appbox')->forceUpgrade($upgrader, $this->container);
if ($input->getOption('dump')) {
if (0 < count($queries)) {