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>2018-04-01 07:34:17 +0300
committerMaurício Meneghini Fauth <mauriciofauth@gmail.com>2018-04-01 07:34:17 +0300
commitc73e72e7ca39304bbcd54399cb59c6fc92199d67 (patch)
tree39ce656994fa855a8702791654ca0aa2912020c4 /db_datadict.php
parent541924c120b8a52bcf8759443baa56731e470f4f (diff)
Refactor PhpMyAdmin\Transformations static methods
Replaces static methods with instance methods. Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
Diffstat (limited to 'db_datadict.php')
-rw-r--r--db_datadict.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/db_datadict.php b/db_datadict.php
index 7a5d7f4fa3..7bd93eae4c 100644
--- a/db_datadict.php
+++ b/db_datadict.php
@@ -35,6 +35,7 @@ $header = $response->getHeader();
$header->enablePrintView();
$relation = new Relation();
+$transformations = new Transformations();
/**
* Gets the relations settings
@@ -188,7 +189,7 @@ foreach ($tables as $table) {
}
echo '</td>' , "\n";
if ($cfgRelation['mimework']) {
- $mime_map = Transformations::getMIME($db, $table, true);
+ $mime_map = $transformations->getMime($db, $table, true);
echo ' <td>';
if (isset($mime_map[$column_name])) {