mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
Fix migration from v3.8.8 to v4.0.0
This commit is contained in:
@@ -35,6 +35,14 @@ class module_console_systemUpgrade extends Command
|
||||
|
||||
protected function doExecute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
require_once rtrim($this->container['root.path'], '\\/') . '/plugins/autoload.php';
|
||||
|
||||
$serviceProvider = new \Alchemy\Phrasea\Core\Provider\PluginServiceProvider();
|
||||
$serviceProvider->register($this->getContainer());
|
||||
$serviceProvider->boot($this->getContainer());
|
||||
|
||||
$this->getContainer()->loadPlugins();
|
||||
|
||||
$interactive = !$input->getOption('yes');
|
||||
|
||||
while ($migrations = $this->container['phraseanet.configuration-tester']->getMigrations()) {
|
||||
|
Reference in New Issue
Block a user