diff options
author | Marc Alexander <admin@m-a-styles.de> | 2017-07-16 17:12:01 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2017-07-16 17:12:01 +0200 |
commit | 4b733426698760801ff2b8ce3ce077c16732d4ef (patch) | |
tree | 6b7b78c143ba3ecfa26ead8bf019ddeff4f68dc9 /phpBB/phpbb/db | |
parent | 0e505c6fc7f0a5440eaeaf43f493077b02356b02 (diff) | |
download | forums-4b733426698760801ff2b8ce3ce077c16732d4ef.tar forums-4b733426698760801ff2b8ce3ce077c16732d4ef.tar.gz forums-4b733426698760801ff2b8ce3ce077c16732d4ef.tar.bz2 forums-4b733426698760801ff2b8ce3ce077c16732d4ef.tar.xz forums-4b733426698760801ff2b8ce3ce077c16732d4ef.zip |
[prep-release-3.2.1] Add migration for 3.2.1
Diffstat (limited to 'phpBB/phpbb/db')
-rw-r--r-- | phpBB/phpbb/db/migration/data/v32x/v321.php | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/migration/data/v32x/v321.php b/phpBB/phpbb/db/migration/data/v32x/v321.php new file mode 100644 index 0000000000..268f978b4b --- /dev/null +++ b/phpBB/phpbb/db/migration/data/v32x/v321.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 v321 extends \phpbb\db\migration\migration +{ + public function effectively_installed() + { + return phpbb_version_compare($this->config['version'], '3.2.1', '>='); + } + + static public function depends_on() + { + return array( + '\phpbb\db\migration\data\v32x\v321rc1', + ); + + } + + public function update_data() + { + return array( + array('config.update', array('version', '3.2.1')), + ); + } +} |