Skip to content

Commit

Permalink
Request cleanup of migration cache earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
Quetzacoalt91 committed May 3, 2019
1 parent 195fc0b commit 1766438
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions classes/TaskRunner/Upgrade/UpgradeDb.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ public function run()
$this->next = 'upgradeModules';
$this->logger->info($this->translator->trans('Database upgraded. Now upgrading your Addons modules...', array(), 'Modules.Autoupgrade.Admin'));

$this->container->getSymfonyAdapter()->clearMigrationCache();

return true;
}

Expand All @@ -72,6 +70,7 @@ public function init()
// Migrating settings file
$this->container->initPrestaShopAutoloader();
(new SettingsFileWriter($this->translator))->migrateSettingsFile($this->logger);
$this->container->getSymfonyAdapter()->clearMigrationCache();
parent::init();
}
}

0 comments on commit 1766438

Please sign in to comment.