diff options
author | Matt Friedman <maf675@gmail.com> | 2016-03-29 10:01:03 -0700 |
---|---|---|
committer | Matt Friedman <maf675@gmail.com> | 2016-03-29 10:01:03 -0700 |
commit | 39de59e65f2913f4f583e52e91c92b77a6096186 (patch) | |
tree | 67d78f664675a611ba058f427e8a09e6affd8c61 /phpBB | |
parent | b8dd3ef43a1f9a4674d9bced60c956cb817f42c4 (diff) | |
download | forums-39de59e65f2913f4f583e52e91c92b77a6096186.tar forums-39de59e65f2913f4f583e52e91c92b77a6096186.tar.gz forums-39de59e65f2913f4f583e52e91c92b77a6096186.tar.bz2 forums-39de59e65f2913f4f583e52e91c92b77a6096186.tar.xz forums-39de59e65f2913f4f583e52e91c92b77a6096186.zip |
[ticket/14570] Use phpbb_version_compare
PHPBB3-14570
Diffstat (limited to 'phpBB')
32 files changed, 32 insertions, 32 deletions
diff --git a/phpBB/phpbb/db/migration/data/v310/alpha1.php b/phpBB/phpbb/db/migration/data/v310/alpha1.php index 10a65be18c..4a48d2830a 100644 --- a/phpBB/phpbb/db/migration/data/v310/alpha1.php +++ b/phpBB/phpbb/db/migration/data/v310/alpha1.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v310/alpha2.php b/phpBB/phpbb/db/migration/data/v310/alpha2.php index b2723d2bcd..bfbcc4f6f5 100644 --- a/phpBB/phpbb/db/migration/data/v310/alpha2.php +++ b/phpBB/phpbb/db/migration/data/v310/alpha2.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v310/alpha3.php b/phpBB/phpbb/db/migration/data/v310/alpha3.php index 3501fab6e8..bb0f904fd4 100644 --- a/phpBB/phpbb/db/migration/data/v310/alpha3.php +++ b/phpBB/phpbb/db/migration/data/v310/alpha3.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v310/beta1.php b/phpBB/phpbb/db/migration/data/v310/beta1.php index 4538b5046b..9feba5235d 100644 --- a/phpBB/phpbb/db/migration/data/v310/beta1.php +++ b/phpBB/phpbb/db/migration/data/v310/beta1.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v310/beta2.php b/phpBB/phpbb/db/migration/data/v310/beta2.php index 22e12de01f..d5e31ce4cb 100644 --- a/phpBB/phpbb/db/migration/data/v310/beta2.php +++ b/phpBB/phpbb/db/migration/data/v310/beta2.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v310/beta3.php b/phpBB/phpbb/db/migration/data/v310/beta3.php index 2beb75ad18..78c61e8e90 100644 --- a/phpBB/phpbb/db/migration/data/v310/beta3.php +++ b/phpBB/phpbb/db/migration/data/v310/beta3.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v310/beta4.php b/phpBB/phpbb/db/migration/data/v310/beta4.php index 3a1c292189..e634785c38 100644 --- a/phpBB/phpbb/db/migration/data/v310/beta4.php +++ b/phpBB/phpbb/db/migration/data/v310/beta4.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v310/gold.php b/phpBB/phpbb/db/migration/data/v310/gold.php index 7042aee618..188851f87d 100644 --- a/phpBB/phpbb/db/migration/data/v310/gold.php +++ b/phpBB/phpbb/db/migration/data/v310/gold.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v310/rc1.php b/phpBB/phpbb/db/migration/data/v310/rc1.php index c868a45a77..751208c6ca 100644 --- a/phpBB/phpbb/db/migration/data/v310/rc1.php +++ b/phpBB/phpbb/db/migration/data/v310/rc1.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v310/rc2.php b/phpBB/phpbb/db/migration/data/v310/rc2.php index 60fc35b0ad..5cd0393a13 100644 --- a/phpBB/phpbb/db/migration/data/v310/rc2.php +++ b/phpBB/phpbb/db/migration/data/v310/rc2.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v310/rc3.php b/phpBB/phpbb/db/migration/data/v310/rc3.php index e7479c2834..9fb483ef6a 100644 --- a/phpBB/phpbb/db/migration/data/v310/rc3.php +++ b/phpBB/phpbb/db/migration/data/v310/rc3.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v310/rc4.php b/phpBB/phpbb/db/migration/data/v310/rc4.php index 431b81c70a..0d756c762c 100644 --- a/phpBB/phpbb/db/migration/data/v310/rc4.php +++ b/phpBB/phpbb/db/migration/data/v310/rc4.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v310/rc5.php b/phpBB/phpbb/db/migration/data/v310/rc5.php index 947e948855..d92537d877 100644 --- a/phpBB/phpbb/db/migration/data/v310/rc5.php +++ b/phpBB/phpbb/db/migration/data/v310/rc5.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v310/rc6.php b/phpBB/phpbb/db/migration/data/v310/rc6.php index 8fe14afff4..1df502a1e4 100644 --- a/phpBB/phpbb/db/migration/data/v310/rc6.php +++ b/phpBB/phpbb/db/migration/data/v310/rc6.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v31x/v311.php b/phpBB/phpbb/db/migration/data/v31x/v311.php index 6478335b6f..b9d6ed3053 100644 --- a/phpBB/phpbb/db/migration/data/v31x/v311.php +++ b/phpBB/phpbb/db/migration/data/v31x/v311.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v31x/v312.php b/phpBB/phpbb/db/migration/data/v31x/v312.php index abc60baad7..114c2b959b 100644 --- a/phpBB/phpbb/db/migration/data/v31x/v312.php +++ b/phpBB/phpbb/db/migration/data/v31x/v312.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v31x/v312rc1.php b/phpBB/phpbb/db/migration/data/v31x/v312rc1.php index 8cf4a9693a..e2408d432b 100644 --- a/phpBB/phpbb/db/migration/data/v31x/v312rc1.php +++ b/phpBB/phpbb/db/migration/data/v31x/v312rc1.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v31x/v313.php b/phpBB/phpbb/db/migration/data/v31x/v313.php index c74d37de0e..b86788da16 100644 --- a/phpBB/phpbb/db/migration/data/v31x/v313.php +++ b/phpBB/phpbb/db/migration/data/v31x/v313.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v31x/v313rc1.php b/phpBB/phpbb/db/migration/data/v31x/v313rc1.php index 9323a6e319..b1dcc03364 100644 --- a/phpBB/phpbb/db/migration/data/v31x/v313rc1.php +++ b/phpBB/phpbb/db/migration/data/v31x/v313rc1.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v31x/v313rc2.php b/phpBB/phpbb/db/migration/data/v31x/v313rc2.php index 977021d07b..b701dca5ed 100644 --- a/phpBB/phpbb/db/migration/data/v31x/v313rc2.php +++ b/phpBB/phpbb/db/migration/data/v31x/v313rc2.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v31x/v314.php b/phpBB/phpbb/db/migration/data/v31x/v314.php index ec6564894c..82dbbf29c9 100644 --- a/phpBB/phpbb/db/migration/data/v31x/v314.php +++ b/phpBB/phpbb/db/migration/data/v31x/v314.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v31x/v314rc1.php b/phpBB/phpbb/db/migration/data/v31x/v314rc1.php index 28c1946bfd..e7baf0c2ce 100644 --- a/phpBB/phpbb/db/migration/data/v31x/v314rc1.php +++ b/phpBB/phpbb/db/migration/data/v31x/v314rc1.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v31x/v314rc2.php b/phpBB/phpbb/db/migration/data/v31x/v314rc2.php index 8869ee7012..3fc5bf2ad5 100644 --- a/phpBB/phpbb/db/migration/data/v31x/v314rc2.php +++ b/phpBB/phpbb/db/migration/data/v31x/v314rc2.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v31x/v315.php b/phpBB/phpbb/db/migration/data/v31x/v315.php index 664746984e..d5eacf8dd3 100644 --- a/phpBB/phpbb/db/migration/data/v31x/v315.php +++ b/phpBB/phpbb/db/migration/data/v31x/v315.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v31x/v315rc1.php b/phpBB/phpbb/db/migration/data/v31x/v315rc1.php index b163d4ec89..a58b6a0f2a 100644 --- a/phpBB/phpbb/db/migration/data/v31x/v315rc1.php +++ b/phpBB/phpbb/db/migration/data/v31x/v315rc1.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v31x/v316.php b/phpBB/phpbb/db/migration/data/v31x/v316.php index 548eb732e8..b3e0060ced 100644 --- a/phpBB/phpbb/db/migration/data/v31x/v316.php +++ b/phpBB/phpbb/db/migration/data/v31x/v316.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v31x/v316rc1.php b/phpBB/phpbb/db/migration/data/v31x/v316rc1.php index d9584f6eea..6badfb68d4 100644 --- a/phpBB/phpbb/db/migration/data/v31x/v316rc1.php +++ b/phpBB/phpbb/db/migration/data/v31x/v316rc1.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v31x/v317.php b/phpBB/phpbb/db/migration/data/v31x/v317.php index b35bf5655e..d95be06ba6 100644 --- a/phpBB/phpbb/db/migration/data/v31x/v317.php +++ b/phpBB/phpbb/db/migration/data/v31x/v317.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v31x/v317pl1.php b/phpBB/phpbb/db/migration/data/v31x/v317pl1.php index 02d4f69cb9..1cb39b03f0 100644 --- a/phpBB/phpbb/db/migration/data/v31x/v317pl1.php +++ b/phpBB/phpbb/db/migration/data/v31x/v317pl1.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v31x/v317rc1.php b/phpBB/phpbb/db/migration/data/v31x/v317rc1.php index 6c667a5fb4..77759daa66 100644 --- a/phpBB/phpbb/db/migration/data/v31x/v317rc1.php +++ b/phpBB/phpbb/db/migration/data/v31x/v317rc1.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v31x/v318.php b/phpBB/phpbb/db/migration/data/v31x/v318.php index fcc619299d..7663529d3a 100644 --- a/phpBB/phpbb/db/migration/data/v31x/v318.php +++ b/phpBB/phpbb/db/migration/data/v31x/v318.php @@ -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() diff --git a/phpBB/phpbb/db/migration/data/v31x/v318rc1.php b/phpBB/phpbb/db/migration/data/v31x/v318rc1.php index 36d4f2a705..2cab5c96d4 100644 --- a/phpBB/phpbb/db/migration/data/v31x/v318rc1.php +++ b/phpBB/phpbb/db/migration/data/v31x/v318rc1.php @@ -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() |