From b299b9ee21b42a6cd43b58109a4382e346d58cdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Thu, 24 Jan 2008 10:46:54 +0000 Subject: #204411 by catch: elevate MySQL requirements to 4.1.1 (the first production MySQL 4.1.x was 4.1.5 anyway) --- includes/database.mysql.inc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'includes/database.mysql.inc') diff --git a/includes/database.mysql.inc b/includes/database.mysql.inc index 0b2636c66..a71c2371a 100644 --- a/includes/database.mysql.inc +++ b/includes/database.mysql.inc @@ -80,10 +80,8 @@ function db_connect($url) { _db_error_page(mysql_error()); } - // On MySQL 4.1 and later, force UTF-8. - if (version_compare(mysql_get_server_info(), '4.1.0', '>=')) { - mysql_query('SET NAMES "utf8"', $connection); - } + // Force UTF-8. + mysql_query('SET NAMES "utf8"', $connection); return $connection; } -- cgit v1.2.3