1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/13700] Add method for initializing config after cache purge

PHPBB3-13700
This commit is contained in:
Marc Alexander
2021-04-03 22:31:51 +02:00
parent 7d48254cc9
commit 574de287e7
2 changed files with 12 additions and 1 deletions

View File

@@ -58,6 +58,10 @@ class migrate extends \phpbb\console\command\db\migration_command
$this->migrator->create_migrations_table();
$this->cache->purge();
if ($this->config instanceof \phpbb\config\db)
{
$this->config->initialise($this->cache->get_driver());
}
$this->load_migrations();
$orig_version = $this->config['version'];