]> git.mjollnir.org Git - moodle.git/commitdiff
typo
authortoyomoyo <toyomoyo>
Tue, 18 Apr 2006 09:08:53 +0000 (09:08 +0000)
committertoyomoyo <toyomoyo>
Tue, 18 Apr 2006 09:08:53 +0000 (09:08 +0000)
admin/utfdbmigrate.php

index d71b7addd0c8832fc0d8ce3854d0ead6bfc60ef1..9d0371fb74d0eeb38db73abdbd23c017ebc76330 100755 (executable)
@@ -688,9 +688,9 @@ function db_migrate2utf8(){   //Eloy: Perhaps some type of limit parameter here
 
     // Regenerate some cached data
     
-    if ($db->dbtype == 'mysql') {
+    if ($CFG->dbtype == 'mysql') {
         $db->Execute("SET NAMES 'utf8'");
-    } else if ($db->dbtype == 'postgres7') {
+    } else if ($CFG->dbtype == 'postgres7') {
         $db->Execute("SET NAMES 'utf8'");
     }