mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
typo
This commit is contained in:
parent
4e93938edb
commit
dec0d49c7e
@ -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'");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user