Skip to content

Commit a6a89f3

Browse files
committed
Update phpBB requirements
Signed-off-by: Matt Friedman <maf675@gmail.com>
1 parent f997a0c commit a6a89f3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"extra": {
4141
"display-name": "phpBB Ideas",
4242
"soft-require": {
43-
"phpbb/phpbb": ">=3.3.0"
43+
"phpbb/phpbb": ">=3.3.0,<4.0.0@dev"
4444
}
4545
}
4646
}

ext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public static function status_name($id)
6767
*/
6868
public function is_enableable()
6969
{
70-
if (PHP_VERSION_ID < 70100 || phpbb_version_compare(PHPBB_VERSION, '3.3.0', '<'))
70+
if (PHP_VERSION_ID < 70100 || phpbb_version_compare(PHPBB_VERSION, '3.3.0', '<') || phpbb_version_compare(PHPBB_VERSION, '4.0.0-dev', '>='))
7171
{
7272
return false;
7373
}

0 commit comments

Comments
 (0)