mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-30 19:24:13 +02:00
[ticket/10824] Update comments to reflect change versions
PHPBB3-10824
This commit is contained in:
parent
a39f8ad5d1
commit
7ed687ff15
@ -78,7 +78,7 @@ class style_update_p1 extends \phpbb\db\migration\migration
|
||||
$style_cfg = parse_cfg_file($fileinfo->getPathname() . '/style.cfg');
|
||||
if (isset($style_cfg['phpbb_version']) && version_compare($style_cfg['phpbb_version'], '3.1.0-dev', '>='))
|
||||
{
|
||||
// 3.1 & 3.2 style
|
||||
// 3.1 - 3.3 style
|
||||
$available_styles[] = $fileinfo->getFilename();
|
||||
}
|
||||
}
|
||||
@ -86,9 +86,9 @@ class style_update_p1 extends \phpbb\db\migration\migration
|
||||
{
|
||||
$json = file_get_contents($fileinfo->getPathname() . '/composer.json');
|
||||
$style_data = sanitizer::decode($json);
|
||||
if (isset($style_data['extra']['phpbb-version']) && version_compare($style_data['extra']['phpbb-version'], '3.3.0-dev', '>='))
|
||||
if (isset($style_data['extra']['phpbb-version']) && version_compare($style_data['extra']['phpbb-version'], '4.0.0-dev', '>='))
|
||||
{
|
||||
// 3.3 style
|
||||
// 4.x style
|
||||
$available_styles[] = $fileinfo->getFilename();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user