mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
Merge pull request #5985 from 3D-I/ticket/16486
[ticket/16486] Fix migration 3.2.0-a1
This commit is contained in:
commit
4a4f62f29e
1 changed files with 6 additions and 6 deletions
|
@ -17,12 +17,12 @@ class v320a1 extends \phpbb\db\migration\container_aware_migration
|
|||
{
|
||||
public function effectively_installed()
|
||||
{
|
||||
return version_compare($this->config['version'], '3.2.0-a1', '>=');
|
||||
return phpbb_version_compare($this->config['version'], '3.2.0-a1', '>=');
|
||||
}
|
||||
|
||||
static public function depends_on()
|
||||
{
|
||||
return array(
|
||||
return [
|
||||
'\phpbb\db\migration\data\v320\dev',
|
||||
'\phpbb\db\migration\data\v320\allowed_schemes_links',
|
||||
'\phpbb\db\migration\data\v320\announce_global_permission',
|
||||
|
@ -32,13 +32,13 @@ class v320a1 extends \phpbb\db\migration\container_aware_migration
|
|||
'\phpbb\db\migration\data\v320\log_post_id',
|
||||
'\phpbb\db\migration\data\v320\remove_outdated_media',
|
||||
'\phpbb\db\migration\data\v320\notifications_board',
|
||||
);
|
||||
];
|
||||
}
|
||||
|
||||
public function update_data()
|
||||
{
|
||||
return array(
|
||||
array('config.update', array('version', '3.2.0-dev')),
|
||||
);
|
||||
return [
|
||||
['config.update', ['version', '3.2.0-a1']],
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue