Merge branch 'MDL-80819_401' of https://github.com/stronk7/moodle into MOODLE_401_STABLE

This commit is contained in:
Jun Pataleta 2024-03-05 11:48:39 +08:00
commit b704fa7dda
No known key found for this signature in database
GPG Key ID: F83510526D99E2C7

View File

@ -48,8 +48,8 @@ function moodle_minimum_php_version_is_met($haltexecution = false) {
// PLEASE NOTE THIS FUNCTION MUST BE COMPATIBLE WITH OLD UNSUPPORTED VERSIONS OF PHP.
// Do not use modern php features or Moodle convenience functions (e.g. localised strings).
$minimumversion = '7.1.0';
$moodlerequirementchanged = '3.7';
$minimumversion = '7.4.0';
$moodlerequirementchanged = '4.1';
if (version_compare(PHP_VERSION, $minimumversion) < 0) {
if ($haltexecution) {