This commit is contained in:
Huong Nguyen 2024-06-20 10:59:56 +07:00
commit ac3ae1b678
No known key found for this signature in database
GPG Key ID: 40D88AB693A3E72A

View File

@ -40,13 +40,6 @@ if (!function_exists('iconv')) {
die();
}
// Make sure php5-json is available.
if (!function_exists('json_encode') || !function_exists('json_decode')) {
// This also shouldn't happen.
echo 'Moodle requires the json PHP extension. Please install or enable the json extension.';
die();
}
// Make sure xml extension is available.
if (!extension_loaded('xml')) {
echo 'Moodle requires the xml PHP extension. Please install or enable the xml extension.';