aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-10-19 15:19:42 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-10-19 15:19:42 +0200
commit2f220a07d15f56fa340ab95221d4c45f7f4e2c11 (patch)
treee8b0cf0c14fd1384c8f718fbf55a1b7f0099ad5b
parent32cc32c76ae39e020b62779b0c5cebb1da83e749 (diff)
downloadforums-2f220a07d15f56fa340ab95221d4c45f7f4e2c11.tar
forums-2f220a07d15f56fa340ab95221d4c45f7f4e2c11.tar.gz
forums-2f220a07d15f56fa340ab95221d4c45f7f4e2c11.tar.bz2
forums-2f220a07d15f56fa340ab95221d4c45f7f4e2c11.tar.xz
forums-2f220a07d15f56fa340ab95221d4c45f7f4e2c11.zip
[prep-release-3.3.0-b1] Add migration for 3.3.0-b1
-rw-r--r--phpBB/phpbb/db/migration/data/v330/v330b1.php40
1 files changed, 40 insertions, 0 deletions
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 @@
+<?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 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')),
+ );
+ }
+}