mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/12870] Create the migrations table with a method in the migrator
PHPBB3-12870
This commit is contained in:
@@ -78,8 +78,11 @@ class manager
|
||||
$this->extensions = array();
|
||||
|
||||
// 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', '<'))
|
||||
// does not exist or 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') || version_compare($this->config['version'], '3.1.0-dev', '<'))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user