Skip to content

Commit 9f84fef

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

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"extra": {
4545
"display-name": "Google Analytics",
4646
"soft-require": {
47-
"phpbb/phpbb": ">=3.2.0"
47+
"phpbb/phpbb": ">=3.2.0,<4.0.0@dev"
4848
},
4949
"version-check": {
5050
"host": "www.phpbb.com",

ext.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class ext extends base
1919
*/
2020
public function is_enableable()
2121
{
22-
return phpbb_version_compare(PHPBB_VERSION, '3.2.0', '>=');
22+
return phpbb_version_compare(PHPBB_VERSION, '3.2.0', '>=')
23+
&& phpbb_version_compare(PHPBB_VERSION, '4.0.0-dev', '<');
2324
}
2425
}

0 commit comments

Comments
 (0)