Skip to content

Commit 70c0230

Browse files
authored
Merge pull request #69 from phpbb-extensions/iMattPro-patch-1
Update installation requirement enforcement
2 parents 33394ed + c5448d8 commit 70c0230

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ class ext extends \phpbb\extension\base
2020
* The current phpBB version should meet or exceed
2121
* the minimum version required by this extension:
2222
*
23-
* Requires phpBB 3.2.0.
23+
* Requires phpBB 4.0.0 due to usage of the new messenger class
2424
*
2525
* @return bool
2626
* @access public
2727
*/
2828
public function is_enableable()
2929
{
30-
return phpbb_version_compare(PHPBB_VERSION, '3.2.0', '>=');
30+
return phpbb_version_compare(PHPBB_VERSION, '4.0.0-dev', '>=') && phpbb_version_compare(PHPBB_VERSION, '4.1.0-dev', '<');
3131
}
3232

3333
/**

0 commit comments

Comments
 (0)