diff options
Diffstat (limited to 'phpBB/phpbb')
3 files changed, 9 insertions, 6 deletions
diff --git a/phpBB/phpbb/db/migration/data/v30x/release_3_0_12.php b/phpBB/phpbb/db/migration/data/v30x/release_3_0_12.php index 45220e880c..47eabb4c66 100644 --- a/phpBB/phpbb/db/migration/data/v30x/release_3_0_12.php +++ b/phpBB/phpbb/db/migration/data/v30x/release_3_0_12.php @@ -23,8 +23,9 @@ class release_3_0_12 extends \phpbb\db\migration\migration public function update_data() { - return array( + return array('if', array( + phpbb_version_compare($this->config['version'], '3.0.12', '<'), array('config.update', array('version', '3.0.12')), - ); + )); } } diff --git a/phpBB/phpbb/db/migration/data/v30x/release_3_0_12_rc2.php b/phpBB/phpbb/db/migration/data/v30x/release_3_0_12_rc2.php index 91fb19c018..e6260374ad 100644 --- a/phpBB/phpbb/db/migration/data/v30x/release_3_0_12_rc2.php +++ b/phpBB/phpbb/db/migration/data/v30x/release_3_0_12_rc2.php @@ -23,8 +23,9 @@ class release_3_0_12_rc2 extends \phpbb\db\migration\migration public function update_data() { - return array( + return array('if', array( + phpbb_version_compare($this->config['version'], '3.0.12-RC2', '<'), array('config.update', array('version', '3.0.12-RC2')), - ); + )); } } diff --git a/phpBB/phpbb/db/migration/data/v30x/release_3_0_12_rc3.php b/phpBB/phpbb/db/migration/data/v30x/release_3_0_12_rc3.php index a1265722c7..a6e83ada9c 100644 --- a/phpBB/phpbb/db/migration/data/v30x/release_3_0_12_rc3.php +++ b/phpBB/phpbb/db/migration/data/v30x/release_3_0_12_rc3.php @@ -23,8 +23,9 @@ class release_3_0_12_rc3 extends \phpbb\db\migration\migration public function update_data() { - return array( + return array('if', array( + phpbb_version_compare($this->config['version'], '3.0.12-RC3', '<'), array('config.update', array('version', '3.0.12-RC3')), - ); + )); } } |