From 7f70a73634b355f07b59d81fec082075d16c18b4 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 24 Jan 2014 10:32:17 +0100 Subject: [prep-release-3.1.0-a3] Add migration for 3.1.0-a3 --- phpBB/phpbb/db/migration/data/v310/alpha3.php | 30 +++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 phpBB/phpbb/db/migration/data/v310/alpha3.php (limited to 'phpBB/phpbb/db/migration/data/v310/alpha3.php') diff --git a/phpBB/phpbb/db/migration/data/v310/alpha3.php b/phpBB/phpbb/db/migration/data/v310/alpha3.php new file mode 100644 index 0000000000..4bd2231bb9 --- /dev/null +++ b/phpBB/phpbb/db/migration/data/v310/alpha3.php @@ -0,0 +1,30 @@ + Date: Tue, 27 May 2014 20:18:06 +0200 Subject: [ticket/12594] Remove @package tags and update file headers PHPBB3-12594 --- phpBB/phpbb/db/migration/data/v310/alpha3.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'phpBB/phpbb/db/migration/data/v310/alpha3.php') diff --git a/phpBB/phpbb/db/migration/data/v310/alpha3.php b/phpBB/phpbb/db/migration/data/v310/alpha3.php index 4bd2231bb9..574d19d2f4 100644 --- a/phpBB/phpbb/db/migration/data/v310/alpha3.php +++ b/phpBB/phpbb/db/migration/data/v310/alpha3.php @@ -1,9 +1,13 @@ +* @license GNU General Public License, version 2 (GPL-2.0) +* +* For full copyright and license information, please see +* the docs/CREDITS.txt file. * */ -- cgit v1.2.1 From b8dd3ef43a1f9a4674d9bced60c956cb817f42c4 Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Tue, 29 Mar 2016 09:54:22 -0700 Subject: [ticket/14570] Add effectively installed to 3.1.x versions PHPBB3-14570 --- phpBB/phpbb/db/migration/data/v310/alpha3.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'phpBB/phpbb/db/migration/data/v310/alpha3.php') diff --git a/phpBB/phpbb/db/migration/data/v310/alpha3.php b/phpBB/phpbb/db/migration/data/v310/alpha3.php index 574d19d2f4..3501fab6e8 100644 --- a/phpBB/phpbb/db/migration/data/v310/alpha3.php +++ b/phpBB/phpbb/db/migration/data/v310/alpha3.php @@ -15,6 +15,11 @@ namespace phpbb\db\migration\data\v310; class alpha3 extends \phpbb\db\migration\migration { + public function effectively_installed() + { + return version_compare($this->config['version'], '3.1.0-a3', '>='); + } + static public function depends_on() { return array( -- cgit v1.2.1 From 39de59e65f2913f4f583e52e91c92b77a6096186 Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Tue, 29 Mar 2016 10:01:03 -0700 Subject: [ticket/14570] Use phpbb_version_compare PHPBB3-14570 --- phpBB/phpbb/db/migration/data/v310/alpha3.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/phpbb/db/migration/data/v310/alpha3.php') 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() -- cgit v1.2.1