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:
authorMaurício Meneghini Fauth <mauriciofauth@gmail.com>2017-06-02 20:09:23 +0300
committerMaurício Meneghini Fauth <mauriciofauth@gmail.com>2017-06-03 06:52:22 +0300
commite330402b5b57380587c576d1c03c542176423681 (patch)
treebcd0552fab0be5eb957d053ab32ed7d65c8d4b85 /tbl_get_field.php
parent2af08b93f10660db3e14884ff792ed153ec9df50 (diff)
Refactor the core functions into static methods
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'tbl_get_field.php')
-rw-r--r--tbl_get_field.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tbl_get_field.php b/tbl_get_field.php
index 95f8b67b43..384eae91ef 100644
--- a/tbl_get_field.php
+++ b/tbl_get_field.php
@@ -6,6 +6,8 @@
* @package PhpMyAdmin
*/
+use PMA\libraries\Core;
+
/**
* Common functions.
*/
@@ -49,7 +51,7 @@ if ($result === false) {
/* Avoid corrupting data */
@ini_set('url_rewriter.tags', '');
-PMA_downloadHeader(
+Core::downloadHeader(
$table . '-' . $_GET['transform_key'] . '.bin',
PMA_detectMIME($result),
strlen($result)