Skip to content

Commit f56e4f9

Browse files
committed
Use less expensive version compare
Signed-off-by: Matt Friedman <maf675@gmail.com>
1 parent 7eb9b99 commit f56e4f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ protected function phpbb_requirement()
6464
*/
6565
protected function php_requirement()
6666
{
67-
if (phpbb_version_compare(PHP_VERSION, '5.6.0', '<'))
67+
if (PHP_VERSION_ID < 50600)
6868
{
6969
$this->errors[] = 'PHP_VERSION_ERROR';
7070
}

0 commit comments

Comments
 (0)