Skip to content

Commit

Permalink
Update phpBB requirements
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Friedman <[email protected]>
  • Loading branch information
iMattPro committed Jul 5, 2024
1 parent f997a0c commit a6a89f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"extra": {
"display-name": "phpBB Ideas",
"soft-require": {
"phpbb/phpbb": ">=3.3.0"
"phpbb/phpbb": ">=3.3.0,<4.0.0@dev"
}
}
}
2 changes: 1 addition & 1 deletion ext.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public static function status_name($id)
*/
public function is_enableable()
{
if (PHP_VERSION_ID < 70100 || phpbb_version_compare(PHPBB_VERSION, '3.3.0', '<'))
if (PHP_VERSION_ID < 70100 || phpbb_version_compare(PHPBB_VERSION, '3.3.0', '<') || phpbb_version_compare(PHPBB_VERSION, '4.0.0-dev', '>='))
{
return false;
}
Expand Down

0 comments on commit a6a89f3

Please sign in to comment.