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:
Diffstat (limited to 'libraries/plugins/schema/svg/TableStatsSvg.class.php')
-rw-r--r--libraries/plugins/schema/svg/TableStatsSvg.class.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/libraries/plugins/schema/svg/TableStatsSvg.class.php b/libraries/plugins/schema/svg/TableStatsSvg.class.php
index 3230f021c0..3d6e2cd0be 100644
--- a/libraries/plugins/schema/svg/TableStatsSvg.class.php
+++ b/libraries/plugins/schema/svg/TableStatsSvg.class.php
@@ -43,8 +43,6 @@ class Table_Stats_Svg extends TableStats
* from the browser
*
* @global object $svg The current SVG image document
- * @global array $cfgRelation The relations settings
- * @global string $db The current db name
*
* @access private
*
@@ -55,9 +53,9 @@ class Table_Stats_Svg extends TableStats
$tableName, $font, $fontSize, $pageNumber, &$same_wide_width,
$showKeys = false, $tableDimension = false, $offline = false
) {
- global $svg, $cfgRelation, $db;
+ global $svg;
parent::__construct(
- $svg, $db, $pageNumber, $tableName, $showKeys, $tableDimension, $offline
+ $svg, $GLOBALS['db'], $pageNumber, $tableName, $showKeys, $tableDimension, $offline
);
// height and width