]> git.mjollnir.org Git - moodle.git/commitdiff
Normalize oracle driver name.
authorstronk7 <stronk7>
Mon, 29 May 2006 17:42:01 +0000 (17:42 +0000)
committerstronk7 <stronk7>
Mon, 29 May 2006 17:42:01 +0000 (17:42 +0000)
lib/environmentlib.php

index d350f5b8ec8cd8e0c5a16bfa66c33cfb5c825a60..45390a9cdc11f47b0fb46d96730cd3d0e9ca136d 100644 (file)
@@ -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];