From dcf0e4235a1035ebb8f6752df4fb41330ba34157 Mon Sep 17 00:00:00 2001 From: Piotr Przybylski Date: Thu, 17 Feb 2011 02:46:05 +0100 Subject: [PATCH] remove unused variable --- libraries/database_interface.lib.php | 1 - 1 file changed, 1 deletion(-) diff --git a/libraries/database_interface.lib.php b/libraries/database_interface.lib.php index 012eb7c1f..192cf0ec6 100644 --- a/libraries/database_interface.lib.php +++ b/libraries/database_interface.lib.php @@ -991,7 +991,6 @@ function PMA_DBI_postConnect($link, $is_controluser = false) if (PMA_MYSQL_MAJOR_VERSION < 2009) { if (! empty($GLOBALS['collation_connection'])) { PMA_DBI_query("SET CHARACTER SET 'utf8';", $link, PMA_DBI_QUERY_STORE); - $mysql_charset = explode('_', $GLOBALS['collation_connection']); PMA_DBI_query("SET collation_connection = '" . PMA_sqlAddslashes($GLOBALS['collation_connection']) . "';", $link, PMA_DBI_QUERY_STORE); } else { PMA_DBI_query("SET NAMES 'utf8' COLLATE 'utf8_general_ci';", $link, PMA_DBI_QUERY_STORE);