diff options
author | Marc Alexander <admin@m-a-styles.de> | 2017-07-16 12:18:50 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2017-07-16 12:18:50 +0200 |
commit | 149375253685b3a38996f63015a74b7a0f53aa14 (patch) | |
tree | fb4284057e142d12036b2165a6c68a3d3ff5d204 /phpBB | |
parent | 3df3cb87c5066b6913619c18f8f612677c3e6ec4 (diff) | |
download | forums-149375253685b3a38996f63015a74b7a0f53aa14.tar forums-149375253685b3a38996f63015a74b7a0f53aa14.tar.gz forums-149375253685b3a38996f63015a74b7a0f53aa14.tar.bz2 forums-149375253685b3a38996f63015a74b7a0f53aa14.tar.xz forums-149375253685b3a38996f63015a74b7a0f53aa14.zip |
[prep-release-3.1.11] Add migration for 3.1.11
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/phpbb/db/migration/data/v31x/v3111.php | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/migration/data/v31x/v3111.php b/phpBB/phpbb/db/migration/data/v31x/v3111.php new file mode 100644 index 0000000000..f01bbc2bff --- /dev/null +++ b/phpBB/phpbb/db/migration/data/v31x/v3111.php @@ -0,0 +1,36 @@ +<?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\v31x; + +class v3111 extends \phpbb\db\migration\migration +{ + public function effectively_installed() + { + return phpbb_version_compare($this->config['version'], '3.1.11', '>='); + } + + static public function depends_on() + { + return array( + '\phpbb\db\migration\data\v31x\v3111rc1', + ); + } + + public function update_data() + { + return array( + array('config.update', array('version', '3.1.11')), + ); + } +} |