Permalink
Browse files

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

  • Loading branch information...
1 parent d32d63b commit 681ba47a59b8cdccd41032b661d5d338449dda84 stronk7 committed Sep 1, 2006
Showing with 2 additions and 2 deletions.
  1. +2 −2 admin/index.php
View
@@ -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%');
}

0 comments on commit 681ba47

Please sign in to comment.