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/dia/TableStatsDia.class.php')
-rw-r--r--libraries/plugins/schema/dia/TableStatsDia.class.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/libraries/plugins/schema/dia/TableStatsDia.class.php b/libraries/plugins/schema/dia/TableStatsDia.class.php
index 710752d0ff..81f86c1612 100644
--- a/libraries/plugins/schema/dia/TableStatsDia.class.php
+++ b/libraries/plugins/schema/dia/TableStatsDia.class.php
@@ -36,17 +36,15 @@ class Table_Stats_Dia extends TableStats
* @param boolean $offline Whether the coordinates are sent from the browser
*
* @global object $dia The current dia document
- * @global array $cfgRelation The relations settings
- * @global string $db The current db name
*
* @see PMA_DIA
*/
function __construct(
$tableName, $pageNumber, $showKeys = false, $offline = false
) {
- global $dia, $cfgRelation, $db;
+ global $dia;
parent::__construct(
- $dia, $db, $pageNumber, $tableName, $showKeys, false, $offline
+ $dia, $GLOBALS['db'], $pageNumber, $tableName, $showKeys, false, $offline
);
/**