aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2018-01-07 11:45:49 +0100
committerMarc Alexander <admin@m-a-styles.de>2018-01-07 11:45:49 +0100
commitf8180ca97bf6d9e92a0a080e2af8af2f0654bfbe (patch)
tree3ad26f301fe6bf55edb469807f9aa4f16677ceb3 /phpBB/phpbb
parente7c5fc32d2aedbc89a5e54362af83d538600ba87 (diff)
downloadforums-f8180ca97bf6d9e92a0a080e2af8af2f0654bfbe.tar
forums-f8180ca97bf6d9e92a0a080e2af8af2f0654bfbe.tar.gz
forums-f8180ca97bf6d9e92a0a080e2af8af2f0654bfbe.tar.bz2
forums-f8180ca97bf6d9e92a0a080e2af8af2f0654bfbe.tar.xz
forums-f8180ca97bf6d9e92a0a080e2af8af2f0654bfbe.zip
[prep-release-3.2.2] Add migration for 3.2.2
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/db/migration/data/v32x/v322.php37
1 files changed, 37 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/migration/data/v32x/v322.php b/phpBB/phpbb/db/migration/data/v32x/v322.php
new file mode 100644
index 0000000000..7ecbbb3e79
--- /dev/null
+++ b/phpBB/phpbb/db/migration/data/v32x/v322.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\v32x;
+
+class v322 extends \phpbb\db\migration\migration
+{
+ public function effectively_installed()
+ {
+ return phpbb_version_compare($this->config['version'], '3.2.2', '>=');
+ }
+
+ static public function depends_on()
+ {
+ return array(
+ '\phpbb\db\migration\data\v31x\v3112',
+ '\phpbb\db\migration\data\v32x\v322rc1',
+ );
+ }
+
+ public function update_data()
+ {
+ return array(
+ array('config.update', array('version', '3.2.2')),
+ );
+ }
+}