Merge branch 'MDL-57163-30' of https://github.com/vvzh/moodle into MOODLE_30_STABLE

This commit is contained in:
David Monllao
2016-11-29 11:43:31 +08:00
+6
View File
@@ -2453,6 +2453,12 @@ function upgrade_install_plugins(array $installable, $confirmed, $heading='', $c
*/
function check_libcurl_version(environment_results $result) {
if (!function_exists('curl_version')) {
$result->setInfo('cURL PHP extension is not installed');
$result->setStatus(false);
return $result;
}
// Supported version and version number.
$supportedversion = 0x071304;
$supportedversionstring = "7.19.4";