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:
authorMadhura Jayaratne <madhura.cj@gmail.com>2013-05-26 06:01:17 +0400
committerMadhura Jayaratne <madhura.cj@gmail.com>2013-05-26 06:01:17 +0400
commit5c9941ab6a5a4abf2a2425377fa77a95c85b8308 (patch)
treeeb08650d7c369de8b6d2c0acbd61d17d9b4b691f /tbl_get_field.php
parent8b8d1f88f0a69b2eb3f2ec0423ccda4ecc1b07a8 (diff)
Some more missing renamings
Diffstat (limited to 'tbl_get_field.php')
-rw-r--r--tbl_get_field.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tbl_get_field.php b/tbl_get_field.php
index 84f8681913..e7ff05f338 100644
--- a/tbl_get_field.php
+++ b/tbl_get_field.php
@@ -32,7 +32,7 @@ PMA_Util::checkParameters(
);
/* Select database */
-if (!PMA_DBI_selectDb($db)) {
+if (!$GLOBALS['dbi']->selectDb($db)) {
PMA_Util::mysqlDie(
sprintf(__('\'%s\' database does not exist.'), htmlspecialchars($db)),
'', ''
@@ -40,7 +40,7 @@ if (!PMA_DBI_selectDb($db)) {
}
/* Check if table exists */
-if (!PMA_DBI_getColumns($db, $table)) {
+if (!$GLOBALS['dbi']->getColumns($db, $table)) {
PMA_Util::mysqlDie(__('Invalid table name'));
}
@@ -48,7 +48,7 @@ if (!PMA_DBI_getColumns($db, $table)) {
$sql = 'SELECT ' . PMA_Util::backquote($transform_key)
. ' FROM ' . PMA_Util::backquote($table)
. ' WHERE ' . $where_clause . ';';
-$result = PMA_DBI_fetchValue($sql);
+$result = $GLOBALS['dbi']->fetchValue($sql);
/* Check return code */
if ($result === false) {