Environment checks support mysqli. MDL-8113

Merged from MOODLE_17_STABLE
This commit is contained in:
stronk7 2007-01-08 19:54:44 +00:00
parent b0ec5c662b
commit c90edfe168

View File

@ -658,6 +658,9 @@ function environment_check_database($version) {
/// Now search the version we are using (depending of vendor)
$current_vendor = $db->databaseType;
if ($current_vendor == 'mysqli') { //Normalize a bit mysql
$current_vendor ='mysql';
}
if ($current_vendor == 'postgres7') { //Normalize a bit postgresql
$current_vendor ='postgres';
}