Skip to content

Commit c01006d

Browse files
committed
Remove phpbb4.0 constraints
1 parent 975ffb6 commit c01006d

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"type": "phpbb-extension",
44
"description": "A phpBB official extension that allows administrators to easily add Google Analytics to their forums.",
55
"homepage": "https://www.phpbb.com/customise/db/extension/googleanalytics/",
6-
"version": "1.1.0",
6+
"version": "1.2.0-dev",
77
"keywords": ["phpbb", "extension", "google", "analytics"],
88
"license": "GPL-2.0-only",
99
"authors": [
@@ -36,15 +36,15 @@
3636
],
3737
"require": {
3838
"php": ">=5.4",
39-
"composer/installers": "~1.0"
39+
"composer/installers": "^1.0 || ^2.0"
4040
},
4141
"require-dev": {
4242
"phing/phing": "~2.4"
4343
},
4444
"extra": {
4545
"display-name": "Google Analytics",
4646
"soft-require": {
47-
"phpbb/phpbb": ">=3.2.0,<4.0.0@dev"
47+
"phpbb/phpbb": ">=3.2.0"
4848
},
4949
"version-check": {
5050
"host": "www.phpbb.com",

ext.php

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

0 commit comments

Comments
 (0)