From 2f220a07d15f56fa340ab95221d4c45f7f4e2c11 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sat, 19 Oct 2019 15:19:42 +0200 Subject: [prep-release-3.3.0-b1] Add migration for 3.3.0-b1 --- phpBB/phpbb/db/migration/data/v330/v330b1.php | 40 +++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 phpBB/phpbb/db/migration/data/v330/v330b1.php (limited to 'phpBB/phpbb/db/migration/data/v330/v330b1.php') diff --git a/phpBB/phpbb/db/migration/data/v330/v330b1.php b/phpBB/phpbb/db/migration/data/v330/v330b1.php new file mode 100644 index 0000000000..ac4fec3d6e --- /dev/null +++ b/phpBB/phpbb/db/migration/data/v330/v330b1.php @@ -0,0 +1,40 @@ + +* @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\v330; + +class v330b1 extends \phpbb\db\migration\migration +{ + public function effectively_installed() + { + return version_compare($this->config['version'], '3.3.0-b1', '>='); + } + + static public function depends_on() + { + return array( + '\phpbb\db\migration\data\v330\reset_password', + '\phpbb\db\migration\data\v330\remove_attachment_flash', + '\phpbb\db\migration\data\v330\remove_max_pass_chars', + '\phpbb\db\migration\data\v32x\v328', + '\phpbb\db\migration\data\v330\dev', + ); + } + + public function update_data() + { + return array( + array('config.update', array('version', '3.3.0-b1')), + ); + } +} -- cgit v1.2.1 From 396a8214db6654947f0cceeca85f60c1edae6ffe Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Mon, 21 Oct 2019 20:05:12 +0200 Subject: [prep-release-3.3.0-b1] Add jquery update migration to 330b1 dependencies --- phpBB/phpbb/db/migration/data/v330/v330b1.php | 1 + 1 file changed, 1 insertion(+) (limited to 'phpBB/phpbb/db/migration/data/v330/v330b1.php') diff --git a/phpBB/phpbb/db/migration/data/v330/v330b1.php b/phpBB/phpbb/db/migration/data/v330/v330b1.php index ac4fec3d6e..3df44504fc 100644 --- a/phpBB/phpbb/db/migration/data/v330/v330b1.php +++ b/phpBB/phpbb/db/migration/data/v330/v330b1.php @@ -23,6 +23,7 @@ class v330b1 extends \phpbb\db\migration\migration static public function depends_on() { return array( + '\phpbb\db\migration\data\v330\jquery_update', '\phpbb\db\migration\data\v330\reset_password', '\phpbb\db\migration\data\v330\remove_attachment_flash', '\phpbb\db\migration\data\v330\remove_max_pass_chars', -- cgit v1.2.1