[prep-release-3.2.4] Add migration for 3.2.4

This commit is contained in:
Marc Alexander 2018-11-10 21:24:14 +01:00
parent 36a8e48083
commit f631d6b84d
No known key found for this signature in database
GPG key ID: 50E0D2423696F995
4 changed files with 41 additions and 0 deletions

View file

@ -23,6 +23,7 @@ class v322rc1 extends \phpbb\db\migration\migration
static public function depends_on() static public function depends_on()
{ {
return array( return array(
'\phpbb\db\migration\data\v320\v321',
'\phpbb\db\migration\data\v32x\fix_user_styles', '\phpbb\db\migration\data\v32x\fix_user_styles',
'\phpbb\db\migration\data\v32x\update_prosilver_bitfield', '\phpbb\db\migration\data\v32x\update_prosilver_bitfield',
'\phpbb\db\migration\data\v32x\email_force_sender', '\phpbb\db\migration\data\v32x\email_force_sender',

View file

@ -23,6 +23,7 @@ class v323rc1 extends \phpbb\db\migration\migration
static public function depends_on() static public function depends_on()
{ {
return array( return array(
'\phpbb\db\migration\data\v320\v322',
'\phpbb\db\migration\data\v32x\enable_accurate_pm_button', '\phpbb\db\migration\data\v32x\enable_accurate_pm_button',
); );
} }

View file

@ -0,0 +1,38 @@
<?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 v324 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return phpbb_version_compare($this->config['version'], '3.2.4', '>=');
}
static public function depends_on()
{
return array(
'\phpbb\db\migration\data\v32x\v324rc1',
'\phpbb\db\migration\data\v32x\remove_imagick',
);
}
public function update_data()
{
return array(
array('config.update', array('version', '3.2.4')),
);
}
}

View file

@ -23,6 +23,7 @@ class v324rc1 extends \phpbb\db\migration\migration
static public function depends_on() static public function depends_on()
{ {
return array( return array(
'\phpbb\db\migration\data\v320\v323',
'\phpbb\db\migration\data\v32x\forum_topics_per_page_type', '\phpbb\db\migration\data\v32x\forum_topics_per_page_type',
); );
} }