diff options
author | Marc Alexander <admin@m-a-styles.de> | 2019-12-21 10:48:37 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-12-21 10:48:37 +0100 |
commit | a0251ec1d97787f750917029e042e04f97863bc1 (patch) | |
tree | d63ddf15369d96a9db37dd0c00e10deb1393e135 | |
parent | 84f01ed0dab5a45ea945361ac3283f8928a4a57f (diff) | |
download | forums-a0251ec1d97787f750917029e042e04f97863bc1.tar forums-a0251ec1d97787f750917029e042e04f97863bc1.tar.gz forums-a0251ec1d97787f750917029e042e04f97863bc1.tar.bz2 forums-a0251ec1d97787f750917029e042e04f97863bc1.tar.xz forums-a0251ec1d97787f750917029e042e04f97863bc1.zip |
[prep-release-3.3.0-RC1] Add migration for 3.3.0-RC1
-rw-r--r-- | phpBB/phpbb/db/migration/data/v330/v330rc1.php | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/migration/data/v330/v330rc1.php b/phpBB/phpbb/db/migration/data/v330/v330rc1.php new file mode 100644 index 0000000000..52193750cc --- /dev/null +++ b/phpBB/phpbb/db/migration/data/v330/v330rc1.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\v330; + +class v330rc1 extends \phpbb\db\migration\migration +{ + public function effectively_installed() + { + return version_compare($this->config['version'], '3.3.0-RC1', '>='); + } + + static public function depends_on() + { + return array( + '\phpbb\db\migration\data\v330\v330b2', + ); + } + + public function update_data() + { + return array( + array('config.update', array('version', '3.3.0-RC1')), + ); + } +} |