mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-20 10:18:54 +00:00
[ticket/11885] Fix migration files for 3.0.12
PHPBB3-11885
This commit is contained in:
parent
62ad0984c7
commit
b79d811b3a
3 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ class release_3_0_12 extends \phpbb\db\migration\migration
|
|||
{
|
||||
public function effectively_installed()
|
||||
{
|
||||
return phpbb_version_compare($this->config['version'], '3.0.12', '>=');
|
||||
return phpbb_version_compare($this->config['version'], '3.0.12', '>=') && phpbb_version_compare($this->config['version'], '3.1.0-dev', '<');
|
||||
}
|
||||
|
||||
static public function depends_on()
|
||||
|
|
|
@ -13,7 +13,7 @@ class release_3_0_12_rc2 extends \phpbb\db\migration\migration
|
|||
{
|
||||
public function effectively_installed()
|
||||
{
|
||||
return phpbb_version_compare($this->config['version'], '3.0.12-RC2', '>=');
|
||||
return phpbb_version_compare($this->config['version'], '3.0.12-RC2', '>=') && phpbb_version_compare($this->config['version'], '3.1.0-dev', '<');
|
||||
}
|
||||
|
||||
static public function depends_on()
|
||||
|
|
|
@ -13,7 +13,7 @@ class release_3_0_12_rc3 extends \phpbb\db\migration\migration
|
|||
{
|
||||
public function effectively_installed()
|
||||
{
|
||||
return phpbb_version_compare($this->config['version'], '3.0.12-RC3', '>=');
|
||||
return phpbb_version_compare($this->config['version'], '3.0.12-RC3', '>=') && phpbb_version_compare($this->config['version'], '3.1.0-dev', '<');
|
||||
}
|
||||
|
||||
static public function depends_on()
|
||||
|
|
Loading…
Add table
Reference in a new issue