commit: bec047586a09ec0bf4a8214edb66c452e2489851 Author: Marc Alexander <admin <AT> m-a-styles <DOT> de> AuthorDate: Sat Apr 27 12:41:50 2019 +0000 Commit: Jimi Huotari <chiitoo <AT> gentoo <DOT> org> CommitDate: Sat Apr 27 12:41:50 2019 +0000 URL: https://gitweb.gentoo.org/proj/forums.git/commit/?id=bec04758
[prep-release-3.2.6] Add migration to 3.2.6 phpBB/phpbb/db/migration/data/v32x/v326.php | 39 +++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/phpBB/phpbb/db/migration/data/v32x/v326.php b/phpBB/phpbb/db/migration/data/v32x/v326.php new file mode 100644 index 000000000..2d511b9ed --- /dev/null +++ b/phpBB/phpbb/db/migration/data/v32x/v326.php @@ -0,0 +1,39 @@ +<?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 v326 extends \phpbb\db\migration\migration +{ + public function effectively_installed() + { + return phpbb_version_compare($this->config['version'], '3.2.6', '>='); + } + + static public function depends_on() + { + return array( + '\phpbb\db\migration\data\v32x\v326rc1', + '\phpbb\db\migration\data\v32x\disable_remote_avatar', + '\phpbb\db\migration\data\v32x\smtp_dynamic_data', + ); + + } + + public function update_data() + { + return array( + array('config.update', array('version', '3.2.6')), + ); + } +}
