1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-19 15:17:16 +01:00

[ticket/14570] Use phpbb_version_compare

PHPBB3-14570
This commit is contained in:
Matt Friedman 2016-03-29 10:01:03 -07:00
parent b8dd3ef43a
commit 39de59e65f
32 changed files with 32 additions and 32 deletions

View File

@ -17,7 +17,7 @@ class alpha1 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.0-a1', '>=');
return phpbb_version_compare($this->config['version'], '3.1.0-a1', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class alpha2 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.0-a2', '>=');
return phpbb_version_compare($this->config['version'], '3.1.0-a2', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class alpha3 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.0-a3', '>=');
return phpbb_version_compare($this->config['version'], '3.1.0-a3', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class beta1 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.0-b1', '>=');
return phpbb_version_compare($this->config['version'], '3.1.0-b1', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class beta2 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.0-b2', '>=');
return phpbb_version_compare($this->config['version'], '3.1.0-b2', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class beta3 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.0-b3', '>=');
return phpbb_version_compare($this->config['version'], '3.1.0-b3', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class beta4 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.0-b4', '>=');
return phpbb_version_compare($this->config['version'], '3.1.0-b4', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class gold extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.0', '>=');
return phpbb_version_compare($this->config['version'], '3.1.0', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class rc1 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.0-RC1', '>=');
return phpbb_version_compare($this->config['version'], '3.1.0-RC1', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class rc2 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.0-RC2', '>=');
return phpbb_version_compare($this->config['version'], '3.1.0-RC2', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class rc3 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.0-RC3', '>=');
return phpbb_version_compare($this->config['version'], '3.1.0-RC3', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class rc4 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.0-RC4', '>=');
return phpbb_version_compare($this->config['version'], '3.1.0-RC4', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class rc5 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.0-RC5', '>=');
return phpbb_version_compare($this->config['version'], '3.1.0-RC5', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class rc6 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.0-RC6', '>=');
return phpbb_version_compare($this->config['version'], '3.1.0-RC6', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class v311 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.1', '>=');
return phpbb_version_compare($this->config['version'], '3.1.1', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class v312 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.2', '>=');
return phpbb_version_compare($this->config['version'], '3.1.2', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class v312rc1 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.2-RC1', '>=');
return phpbb_version_compare($this->config['version'], '3.1.2-RC1', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class v313 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.3', '>=');
return phpbb_version_compare($this->config['version'], '3.1.3', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class v313rc1 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.3-RC1', '>=');
return phpbb_version_compare($this->config['version'], '3.1.3-RC1', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class v313rc2 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.3-RC2', '>=');
return phpbb_version_compare($this->config['version'], '3.1.3-RC2', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class v314 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.4', '>=');
return phpbb_version_compare($this->config['version'], '3.1.4', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class v314rc1 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.4-RC1', '>=');
return phpbb_version_compare($this->config['version'], '3.1.4-RC1', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class v314rc2 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.4-RC2', '>=');
return phpbb_version_compare($this->config['version'], '3.1.4-RC2', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class v315 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.5', '>=');
return phpbb_version_compare($this->config['version'], '3.1.5', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class v315rc1 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.5-RC1', '>=');
return phpbb_version_compare($this->config['version'], '3.1.5-RC1', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class v316 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.6', '>=');
return phpbb_version_compare($this->config['version'], '3.1.6', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class v316rc1 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.6-RC1', '>=');
return phpbb_version_compare($this->config['version'], '3.1.6-RC1', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class v317 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.7', '>=');
return phpbb_version_compare($this->config['version'], '3.1.7', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class v317pl1 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.7-pl1', '>=');
return phpbb_version_compare($this->config['version'], '3.1.7-pl1', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class v317rc1 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.7-RC1', '>=');
return phpbb_version_compare($this->config['version'], '3.1.7-RC1', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class v318 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.8', '>=');
return phpbb_version_compare($this->config['version'], '3.1.8', '>=');
}
static public function depends_on()

View File

@ -17,7 +17,7 @@ class v318rc1 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.1.8-RC1', '>=');
return phpbb_version_compare($this->config['version'], '3.1.8-RC1', '>=');
}
static public function depends_on()