1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/12870] Create the migrations table in db:migrate

PHPBB3-12870
This commit is contained in:
Tristan Darricau
2014-07-26 11:50:28 +02:00
parent 9d6ff36c6c
commit 8b8e09f4d5
3 changed files with 31 additions and 6 deletions

View File

@@ -77,11 +77,9 @@ class manager
{
$this->extensions = array();
// Do not try to load any extensions when installing or updating
// Note: database updater invokes this code, and in 3.0
// there is no extension table therefore the rest of this function
// fails
if (defined('IN_INSTALL'))
// Do not try to load any extensions if the extension table
// does not exist. (The table is crated by the firsts migrations).
if (version_compare($this->config['version'], '3.1.0-dev', '<'))
{
return;
}