mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[prep-release-3.2.4] Add migration for 3.2.4
This commit is contained in:
parent
36a8e48083
commit
f631d6b84d
4 changed files with 41 additions and 0 deletions
|
@ -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',
|
||||||
|
|
|
@ -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',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
38
phpBB/phpbb/db/migration/data/v32x/v324.php
Normal file
38
phpBB/phpbb/db/migration/data/v32x/v324.php
Normal 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')),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
|
@ -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',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue