mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Normalize oracle driver name.
This commit is contained in:
parent
2d2f440b6e
commit
cfba5440c0
@ -585,6 +585,9 @@ function environment_check_database($version) {
|
||||
if ($current_vendor == 'postgres7') { //Normalize a bit postgresql
|
||||
$current_vendor ='postgres';
|
||||
}
|
||||
if ($current_vendor == 'oci8po') { //Normalize a bit oracle
|
||||
$current_vendor ='oracle';
|
||||
}
|
||||
$dbinfo = $db->ServerInfo();
|
||||
$current_version = normalize_version($dbinfo['version']);
|
||||
$needed_version = $vendors[$current_vendor];
|
||||
|
Loading…
x
Reference in New Issue
Block a user