aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2020-01-04 10:17:57 +0100
committerMarc Alexander <admin@m-a-styles.de>2020-01-04 10:17:57 +0100
commit4f39da4343c465f6d6e0053090d2619c14a908b1 (patch)
treedd1daff66e2941bef7d09ff1bc08a93ae6d25c78 /phpBB/phpbb/db
parenta2a003836896124c9c35fe6720890b40bf62cb48 (diff)
downloadforums-4f39da4343c465f6d6e0053090d2619c14a908b1.tar
forums-4f39da4343c465f6d6e0053090d2619c14a908b1.tar.gz
forums-4f39da4343c465f6d6e0053090d2619c14a908b1.tar.bz2
forums-4f39da4343c465f6d6e0053090d2619c14a908b1.tar.xz
forums-4f39da4343c465f6d6e0053090d2619c14a908b1.zip
[prep-release-3.2.9] Add migration for 3.2.9
Diffstat (limited to 'phpBB/phpbb/db')
-rw-r--r--phpBB/phpbb/db/migration/data/v32x/v329.php37
1 files changed, 37 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/migration/data/v32x/v329.php b/phpBB/phpbb/db/migration/data/v32x/v329.php
new file mode 100644
index 0000000000..e88e264aef
--- /dev/null
+++ b/phpBB/phpbb/db/migration/data/v32x/v329.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 v329 extends \phpbb\db\migration\migration
+{
+ public function effectively_installed()
+ {
+ return phpbb_version_compare($this->config['version'], '3.2.9', '>=');
+ }
+
+ static public function depends_on()
+ {
+ return array(
+ '\phpbb\db\migration\data\v32x\v329rc1',
+ '\phpbb\db\migration\data\v32x\user_emoji_permission',
+ );
+ }
+
+ public function update_data()
+ {
+ return array(
+ array('config.update', array('version', '3.2.9')),
+ );
+ }
+}