aboutsummaryrefslogtreecommitdiffstats
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
parenteb8ace14c8d4fb7f0d080bf28ffb16f8d5fe8424 (diff)
downloadforums-944a748cb6d235c58e52c22254f466e941f3d449.tar
forums-944a748cb6d235c58e52c22254f466e941f3d449.tar.gz
forums-944a748cb6d235c58e52c22254f466e941f3d449.tar.bz2
forums-944a748cb6d235c58e52c22254f466e941f3d449.tar.xz
forums-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')),
+ );
+ }
+}