aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/extension/manager.php
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-07-26 11:50:28 +0200
committerTristan Darricau <github@nicofuma.fr>2014-07-26 11:50:28 +0200
commit8b8e09f4d52cfa2d9d951d827114b2ae510dbfc8 (patch)
treeb1fcfe72fe0b6b397b43c2156666211cb38ea630 /phpBB/phpbb/extension/manager.php
parent9d6ff36c6c32bae8d9cddf60bdaa0f36b5f1f266 (diff)
downloadforums-8b8e09f4d52cfa2d9d951d827114b2ae510dbfc8.tar
forums-8b8e09f4d52cfa2d9d951d827114b2ae510dbfc8.tar.gz
forums-8b8e09f4d52cfa2d9d951d827114b2ae510dbfc8.tar.bz2
forums-8b8e09f4d52cfa2d9d951d827114b2ae510dbfc8.tar.xz
forums-8b8e09f4d52cfa2d9d951d827114b2ae510dbfc8.zip
[ticket/12870] Create the migrations table in db:migrate
PHPBB3-12870
Diffstat (limited to 'phpBB/phpbb/extension/manager.php')
-rw-r--r--phpBB/phpbb/extension/manager.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/phpBB/phpbb/extension/manager.php b/phpBB/phpbb/extension/manager.php
index b19eb9f8a3..98b2654980 100644
--- a/phpBB/phpbb/extension/manager.php
+++ b/phpBB/phpbb/extension/manager.php
@@ -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;
}