aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2014-10-05 15:00:40 +0200
committerMarc Alexander <admin@m-a-styles.de>2014-10-05 15:00:40 +0200
commitce4cb9c91759f8f1da5a5e7927114e0499999b6f (patch)
treec86562f10da2acade2077141a5cc089b10e6031e /phpBB/phpbb
parent682527f509325f09bc0f6d56adf8cd06598a149c (diff)
parentbda68793054af20d817a81717f585de55d8dd254 (diff)
downloadforums-ce4cb9c91759f8f1da5a5e7927114e0499999b6f.tar
forums-ce4cb9c91759f8f1da5a5e7927114e0499999b6f.tar.gz
forums-ce4cb9c91759f8f1da5a5e7927114e0499999b6f.tar.bz2
forums-ce4cb9c91759f8f1da5a5e7927114e0499999b6f.tar.xz
forums-ce4cb9c91759f8f1da5a5e7927114e0499999b6f.zip
Merge pull request #3022 from Nicofuma/ticket/12368
[ticket/12368] Always clean the cache prior to run the migrations
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/console/command/db/migrate.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/phpbb/console/command/db/migrate.php b/phpBB/phpbb/console/command/db/migrate.php
index 86545c237d..c760cde5b5 100644
--- a/phpBB/phpbb/console/command/db/migrate.php
+++ b/phpBB/phpbb/console/command/db/migrate.php
@@ -55,6 +55,8 @@ class migrate extends \phpbb\console\command\command
{
$this->migrator->create_migrations_table();
+ $this->cache->purge();
+
$this->load_migrations();
$orig_version = $this->config['version'];
while (!$this->migrator->finished())