Skip to content

Commit

Permalink
[prep-release-3.3.2] Add migration for 3.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
marc1706 committed Nov 4, 2020
1 parent c521f1d commit f98653d
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions phpBB/phpbb/db/migration/data/v33x/v332.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?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\v33x;

class v332 extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return version_compare($this->config['version'], '3.3.2', '>=');
}

static public function depends_on()
{
return [
'\phpbb\db\migration\data\v33x\v332rc1',
'\phpbb\db\migration\data\v32x\v3211',
];
}

public function update_data()
{
return [
['config.update', ['version', '3.3.2']],
];
}
}

0 comments on commit f98653d

Please sign in to comment.