MDL-63276 install: PHP min version checker bump to PHP 7.1

This commit is contained in:
Eloy Lafuente (stronk7) 2019-01-03 01:14:44 +01:00
parent 504d1a9cc0
commit 422947e070

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.0.0';
$moodlerequirementchanged = '3.4';
$minimumversion = '7.1.0';
$moodlerequirementchanged = '3.7';
if (version_compare(PHP_VERSION, $minimumversion) < 0) {
if ($haltexecution) {