aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2020-01-04 14:35:26 +0100
committerMarc Alexander <admin@m-a-styles.de>2020-01-04 21:54:59 +0100
commit944a748cb6d235c58e52c22254f466e941f3d449 (patch)
tree269756f660ca12e580a012946aa44d8594c5892e
parent[prep-release-3.3.0] Update version numbers for 3.3.0 release (diff)
downloadphpbb-944a748cb6d235c58e52c22254f466e941f3d449.tar.gz
phpbb-944a748cb6d235c58e52c22254f466e941f3d449.tar.bz2
phpbb-944a748cb6d235c58e52c22254f466e941f3d449.zip
[prep-release-3.3.0] Add migration for 3.3.0
-rw-r--r--phpBB/phpbb/db/migration/data/v330/v330.php37
1 files changed, 37 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/migration/data/v330/v330.php b/phpBB/phpbb/db/migration/data/v330/v330.php
new file mode 100644
index 0000000000..05baffbdbd
--- /dev/null
+++ b/phpBB/phpbb/db/migration/data/v330/v330.php
@@ -0,0 +1,37 @@
+<?php
+/**
+*
+* This file is part of the phpBB Forum Software package.
+*
+* @copyright (c) phpBB Limited <https://www.phpbb.com>
+* @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 v330 extends \phpbb\db\migration\migration
+{
+ public function effectively_installed()
+ {
+ return version_compare($this->config['version'], '3.3.0', '>=');
+ }
+
+ static public function depends_on()
+ {
+ return array(
+ '\phpbb\db\migration\data\v32x\v329',
+ '\phpbb\db\migration\data\v330\v330rc1',
+ );
+ }
+
+ public function update_data()
+ {
+ return array(
+ array('config.update', array('version', '3.3.0')),
+ );
+ }
+}