Only mysql and postgresql show the UTF-8 migration message.

This commit is contained in:
stronk7
2006-09-01 18:41:30 +00:00
parent d32d63b6e0
commit 681ba47a59
+2 -2
View File
@@ -412,8 +412,8 @@
print_simple_box(get_string('sitemaintenancewarning', 'admin') , 'center', '60%');
}
/// Alert if we are currently in maintenance mode
if (empty($CFG->unicodedb)) {
/// Alert to display the utf-8 migration button (if !unicode yet and DB is MySQL or PG)
if (empty($CFG->unicodedb) && in_array($CFG->dbtype, array('mysql', 'postgres7'))) {
print_simple_box(get_string('unicodeupgradenotice', 'admin') , 'center', '60%');
}