From f2e9c62a9751c86e69fd2d718a01943619c05837 Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Sat, 25 Oct 2014 17:03:50 -0700 Subject: [prep-release-3.1.0] Add 3.1.0 gold release migration --- phpBB/phpbb/db/migration/data/v310/gold.php | 31 +++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 phpBB/phpbb/db/migration/data/v310/gold.php (limited to 'phpBB/phpbb/db/migration/data/v310/gold.php') diff --git a/phpBB/phpbb/db/migration/data/v310/gold.php b/phpBB/phpbb/db/migration/data/v310/gold.php new file mode 100644 index 0000000000..dcce9103fb --- /dev/null +++ b/phpBB/phpbb/db/migration/data/v310/gold.php @@ -0,0 +1,31 @@ + +* @license GNU General Public License, version 2 (GPL-2.0) +* +* For full copyright and license information, please see +* the docs/CREDITS.txt file. +* +*/ + +namespace phpbb\db\migration\data\v310; + +class gold extends \phpbb\db\migration\migration +{ + static public function depends_on() + { + return array( + '\phpbb\db\migration\data\v310\rc6', + ); + } + + public function update_data() + { + return array( + array('config.update', array('version', '3.1.0')), + ); + } +} -- cgit v1.2.1 From 0d1d836a891a88a63fc927c015c180669b9b4b0b Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Sun, 26 Oct 2014 20:03:46 +0100 Subject: [ticket/13221] Add bot_update as a dependency to gold PHPBB3-13221 --- phpBB/phpbb/db/migration/data/v310/gold.php | 1 + 1 file changed, 1 insertion(+) (limited to 'phpBB/phpbb/db/migration/data/v310/gold.php') diff --git a/phpBB/phpbb/db/migration/data/v310/gold.php b/phpBB/phpbb/db/migration/data/v310/gold.php index dcce9103fb..e84c7ee951 100644 --- a/phpBB/phpbb/db/migration/data/v310/gold.php +++ b/phpBB/phpbb/db/migration/data/v310/gold.php @@ -19,6 +19,7 @@ class gold extends \phpbb\db\migration\migration { return array( '\phpbb\db\migration\data\v310\rc6', + '\phpbb\db\migration\data\v310\bot_update', ); } -- 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/gold.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'phpBB/phpbb/db/migration/data/v310/gold.php') diff --git a/phpBB/phpbb/db/migration/data/v310/gold.php b/phpBB/phpbb/db/migration/data/v310/gold.php index e84c7ee951..7042aee618 100644 --- a/phpBB/phpbb/db/migration/data/v310/gold.php +++ b/phpBB/phpbb/db/migration/data/v310/gold.php @@ -15,6 +15,11 @@ namespace phpbb\db\migration\data\v310; class gold extends \phpbb\db\migration\migration { + public function effectively_installed() + { + return version_compare($this->config['version'], '3.1.0', '>='); + } + 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/gold.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/phpbb/db/migration/data/v310/gold.php') 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() -- cgit v1.2.1