Merge branch 'MDL-80629-405' of https://github.com/andrewnicols/moodle into MOODLE_405_STABLE

This commit is contained in:
Shamim Rezaie
2025-04-02 20:01:51 +11:00
3 changed files with 14 additions and 0 deletions
+2
View File
@@ -4327,6 +4327,7 @@
<VENDOR name="oracle" version="19" />
</DATABASE>
<PHP version="8.1.0" level="required">
<RESTRICT function="restrict_php_version_84" message="unsupportedphpversion84" />
</PHP>
<PCREUNICODE level="optional">
<FEEDBACK>
@@ -4522,6 +4523,7 @@
<VENDOR name="oracle" version="19" />
</DATABASE>
<PHP version="8.1.0" level="required">
<RESTRICT function="restrict_php_version_84" message="unsupportedphpversion84" />
</PHP>
<PCREUNICODE level="optional">
<FEEDBACK>
+1
View File
@@ -1509,6 +1509,7 @@ $string['unsupportedphpversion80'] = 'PHP version 8.0 and higher are not support
$string['unsupportedphpversion81'] = 'PHP version 8.1 and higher are not supported.';
$string['unsupportedphpversion82'] = 'PHP version 8.2 and higher are not supported.';
$string['unsupportedphpversion83'] = 'PHP version 8.3 and higher are not supported.';
$string['unsupportedphpversion84'] = 'PHP version 8.4 and higher are not supported.';
$string['unsuspenduser'] = 'Activate user account';
$string['updateaccounts'] = 'Update existing accounts';
$string['updatecomponent'] = 'Update component';
+11
View File
@@ -1699,3 +1699,14 @@ function restrict_php_version_82($result) {
function restrict_php_version_83($result) {
return restrict_php_version($result, '8.3');
}
/**
* Check if the current PHP version is greater than or equal to
* PHP version 8.4
*
* @param \environment_results $result an environment_results instance
* @return bool result of version check
*/
function restrict_php_version_84(environment_results $result) {
return restrict_php_version($result, '8.4');
}