Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2016-04-11 12:42:29 +0300
committerMichal Čihař <michal@cihar.com>2016-04-11 12:42:29 +0300
commite2deac4b22e2a960d99819cc8e3520cceb4d3c3c (patch)
tree9fdacd3884c2099ee1b8336a422b420c600fa8ce /db_operations.php
parent1fe277e98884cbd4cffddecd143eb86491871908 (diff)
Move getting collation to the DBI layer
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'db_operations.php')
-rw-r--r--db_operations.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/db_operations.php b/db_operations.php
index 35e680aa76..3a75e9dbb7 100644
--- a/db_operations.php
+++ b/db_operations.php
@@ -230,7 +230,7 @@ if (isset($message)) {
unset($message);
}
-$_REQUEST['db_collation'] = PMA_getDbCollation($GLOBALS['db']);
+$_REQUEST['db_collation'] = $GLOBALS['dbi']->getDbCollation($GLOBALS['db']);
$is_information_schema = $GLOBALS['dbi']->isSystemSchema($GLOBALS['db']);
$response->addHTML('<div id="boxContainer" data-box-width="300">');