summaryrefslogtreecommitdiff
path: root/program/lib/Roundcube/rcube_db_mysql.php
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-10-07 11:19:21 +0200
committerThomas Bruederli <thomas@roundcube.net>2013-10-07 11:19:21 +0200
commit120db629b0645033fd6a477b9f96cc8dad589213 (patch)
tree271a61211ac0c40d702ea50e22c209a819cf6fd1 /program/lib/Roundcube/rcube_db_mysql.php
parentaceb0149b8f7f6c57e8dd6ba6f69aa0d6cacc6bc (diff)
Execute connection config queries on db handle direclty
Diffstat (limited to 'program/lib/Roundcube/rcube_db_mysql.php')
-rw-r--r--program/lib/Roundcube/rcube_db_mysql.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/lib/Roundcube/rcube_db_mysql.php b/program/lib/Roundcube/rcube_db_mysql.php
index 24f9ce1bd..d3d0ac5c8 100644
--- a/program/lib/Roundcube/rcube_db_mysql.php
+++ b/program/lib/Roundcube/rcube_db_mysql.php
@@ -60,7 +60,7 @@ class rcube_db_mysql extends rcube_db
*/
protected function conn_configure($dsn, $dbh)
{
- $this->query("SET NAMES 'utf8'");
+ $dbh->query("SET NAMES 'utf8'");
}
/**