diff --git a/htdocs/install/upgrade.php b/htdocs/install/upgrade.php
index fce91f7925d..6186cee02b3 100644
--- a/htdocs/install/upgrade.php
+++ b/htdocs/install/upgrade.php
@@ -183,7 +183,8 @@ if (! GETPOST('action','aZ09') || preg_match('/upgrade/i',GETPOST('action','aZ09
print '
| '.$langs->trans("ServerVersion").' | ';
print ''.$version.' |
';
dolibarr_install_syslog("upgrade: " . $langs->transnoentities("ServerVersion") . ": " .$version);
- if ($db->type == 'mysqli')
+ // TODO get_charset() function don't exists
+ /*if ($db->type == 'mysqli')
{
$tmparray = $db->db->get_charset();
print '| '.$langs->trans("ClientCharset").' | ';
@@ -192,7 +193,7 @@ if (! GETPOST('action','aZ09') || preg_match('/upgrade/i',GETPOST('action','aZ09
print '
| '.$langs->trans("ClientSortingCharset").' | ';
print ''.$tmparray->collation.' |
';
dolibarr_install_syslog("upgrade: " . $langs->transnoentities("ClientCollation") . ": " .$tmparray->collation);
- }
+ }*/
// Test database version requirement
$versionmindb=explode('.',$db::VERSIONMIN);