mirror of
https://github.com/moodle/moodle.git
synced 2025-04-30 05:18:55 +02:00
Environment checks support mysqli. MDL-8113
Merged from MOODLE_17_STABLE
This commit is contained in:
parent
b0ec5c662b
commit
c90edfe168
@ -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';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user