From 6159c3c73805ed6358f2e4b2fc06a31d97dc4bba Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Sat, 15 Mar 2014 14:56:35 +0100 Subject: [prep-release-3.1.0-b1] Add migration for 3.1.0-b1 --- phpBB/phpbb/db/migration/data/v310/beta1.php | 33 ++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 phpBB/phpbb/db/migration/data/v310/beta1.php (limited to 'phpBB/phpbb/db/migration/data/v310/beta1.php') diff --git a/phpBB/phpbb/db/migration/data/v310/beta1.php b/phpBB/phpbb/db/migration/data/v310/beta1.php new file mode 100644 index 0000000000..36d0c62b6f --- /dev/null +++ b/phpBB/phpbb/db/migration/data/v310/beta1.php @@ -0,0 +1,33 @@ + 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/beta1.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'phpBB/phpbb/db/migration/data/v310/beta1.php') diff --git a/phpBB/phpbb/db/migration/data/v310/beta1.php b/phpBB/phpbb/db/migration/data/v310/beta1.php index 36d0c62b6f..84887bd58e 100644 --- a/phpBB/phpbb/db/migration/data/v310/beta1.php +++ b/phpBB/phpbb/db/migration/data/v310/beta1.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/beta1.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'phpBB/phpbb/db/migration/data/v310/beta1.php') diff --git a/phpBB/phpbb/db/migration/data/v310/beta1.php b/phpBB/phpbb/db/migration/data/v310/beta1.php index 84887bd58e..4538b5046b 100644 --- a/phpBB/phpbb/db/migration/data/v310/beta1.php +++ b/phpBB/phpbb/db/migration/data/v310/beta1.php @@ -15,6 +15,11 @@ namespace phpbb\db\migration\data\v310; class beta1 extends \phpbb\db\migration\migration { + public function effectively_installed() + { + return version_compare($this->config['version'], '3.1.0-b1', '>='); + } + 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/beta1.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/phpbb/db/migration/data/v310/beta1.php') 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() -- cgit v1.2.1