Skip to content

Commit 3630e3d

Browse files
authored
Merge pull request #22 from ggoffy/master
updates for XOOPS 2.5.11 Stable
2 parents 80ab995 + 970d72f commit 3630e3d

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

class/Common/VersionChecks.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public static function checkVerXoops(\XoopsModule $module = null, $requiredVer =
4444
}
4545
$success = true;
4646

47-
if (\version_compare($currentVer, $requiredVer, '<')) {
47+
if ($module->versionCompare($currentVer, $requiredVer, '<')) {
4848
$success = false;
4949
$module->setErrors(\sprintf(\constant('CO_' . $moduleDirNameUpper . '_ERROR_BAD_XOOPS'), $requiredVer, $currentVer));
5050
}

docs/changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
1.1.0 RC1 [2023/04/09]: XOOPS 2.5.11 RC1, PHP 7.4.25, PHP 8.0.1
33
==============================================================
44
- fixed smarty problems found by wgTestUi (goffy)
5+
- updates for XOOPS 2.5.11 Stable (goffy)
56

67
==============================================================
78
1.0.0 Stable [2021/12/10 10:00:59]

xoops_version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
'manual' => 'link to manual file',
4848
'manual_file' => \XOOPS_URL . '/modules/wgblocks/docs/install.txt',
4949
'min_php' => '7.4',
50-
'min_xoops' => '2.5.11 RC1',
50+
'min_xoops' => '2.5.11 Stable',
5151
'min_admin' => '1.2',
5252
'min_db' => ['mysql' => '5.6', 'mysqli' => '5.6'],
5353
'image' => 'assets/images/logoModule.png',

0 commit comments

Comments
 (0)