Fix install

This commit is contained in:
Romain Neutron
2013-05-23 18:52:41 +02:00
parent 70d37b1f6a
commit 9285536d0d
6 changed files with 6 additions and 59 deletions

View File

@@ -68,8 +68,6 @@ class module_console_systemUpgrade extends Command
try {
$output->write('<info>Upgrading...</info>', true);
$this->container['phraseanet.registry'] = new \Setup_Registry();
if (count(User_Adapter::get_wrong_email_users($this->container)) > 0) {
return $output->writeln(sprintf('<error>You have to fix your database before upgrade with the system:mailCheck command </error>'));
}
@@ -78,8 +76,6 @@ class module_console_systemUpgrade extends Command
$this->getService('phraseanet.appbox')->forceUpgrade($upgrader, $this->container);
$this->container['phraseanet.registry'] = new \registry($this->container);
foreach ($upgrader->getRecommendations() as $recommendation) {
list($message, $command) = $recommendation;