diff options
author | Marc Alexander <admin@m-a-styles.de> | 2017-01-07 11:48:15 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2017-01-07 11:48:15 +0100 |
commit | da8ec61ab2dba1c8bb770932a6983cddbbb1251c (patch) | |
tree | c39196d3c52bbc0c00db139f6ee039faedba9704 /phpBB/phpbb | |
parent | 44f130808fc8ce9d125094d5294355d2b014014a (diff) | |
download | forums-da8ec61ab2dba1c8bb770932a6983cddbbb1251c.tar forums-da8ec61ab2dba1c8bb770932a6983cddbbb1251c.tar.gz forums-da8ec61ab2dba1c8bb770932a6983cddbbb1251c.tar.bz2 forums-da8ec61ab2dba1c8bb770932a6983cddbbb1251c.tar.xz forums-da8ec61ab2dba1c8bb770932a6983cddbbb1251c.zip |
[prep-release-3.2.0] Update version numbers and add 3.2.0 migration
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r-- | phpBB/phpbb/db/migration/data/v320/v320.php | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/migration/data/v320/v320.php b/phpBB/phpbb/db/migration/data/v320/v320.php new file mode 100644 index 0000000000..20e741cb8b --- /dev/null +++ b/phpBB/phpbb/db/migration/data/v320/v320.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\v320; + +use phpbb\db\migration\migration; + +class v320 extends migration +{ + public function effectively_installed() + { + return version_compare($this->config['version'], '3.2.0', '>='); + } + + static public function depends_on() + { + return array( + '\phpbb\db\migration\data\v31x\increase_size_of_emotion', + '\phpbb\db\migration\data\v320\cookie_notice', + ); + + } + + public function update_data() + { + return array( + array('config.update', array('version', '3.2.0')), + ); + } +} |