This commit is contained in:
toyomoyo 2006-04-18 09:08:53 +00:00
parent 4e93938edb
commit dec0d49c7e

View File

@ -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'");
}