diff options
Diffstat (limited to 'libraries/plugins/schema/eps/Eps_Relation_Schema.class.php')
-rw-r--r-- | libraries/plugins/schema/eps/Eps_Relation_Schema.class.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libraries/plugins/schema/eps/Eps_Relation_Schema.class.php b/libraries/plugins/schema/eps/Eps_Relation_Schema.class.php index 699c94dab2..95854e6c14 100644 --- a/libraries/plugins/schema/eps/Eps_Relation_Schema.class.php +++ b/libraries/plugins/schema/eps/Eps_Relation_Schema.class.php @@ -330,7 +330,7 @@ class PMA_Eps_Relation_Schema extends PMA_Export_Relation_Schema { parent::__construct(); - global $eps,$db; + global $eps; $this->setShowColor(isset($_REQUEST['eps_show_color'])); $this->setShowKeys(isset($_REQUEST['eps_show_keys'])); @@ -342,7 +342,7 @@ class PMA_Eps_Relation_Schema extends PMA_Export_Relation_Schema $eps->setTitle( sprintf( __('Schema of the %s database - Page %s'), - $db, + $GLOBALS['db'], $this->pageNumber ) ); @@ -358,7 +358,7 @@ class PMA_Eps_Relation_Schema extends PMA_Export_Relation_Schema $alltables[] = $tbl->table_name; } } else { - $alltables = $this->getAllTables($db, $this->pageNumber); + $alltables = $this->getAllTables($GLOBALS['db'], $this->pageNumber); } foreach ($alltables as $table) { @@ -377,7 +377,7 @@ class PMA_Eps_Relation_Schema extends PMA_Export_Relation_Schema $seen_a_relation = false; foreach ($alltables as $one_table) { - $exist_rel = PMA_getForeigners($db, $one_table, '', 'both'); + $exist_rel = PMA_getForeigners($GLOBALS['db'], $one_table, '', 'both'); if ($exist_rel) { $seen_a_relation = true; foreach ($exist_rel as $master_field => $rel) { @@ -430,8 +430,8 @@ class PMA_Eps_Relation_Schema extends PMA_Export_Relation_Schema */ function showOutput() { - global $eps,$db; - $filename = $db . '-' . $this->pageNumber; + global $eps; + $filename = $GLOBALS['db'] . '-' . $this->pageNumber; if ($this->isOffline()) { $filename = __("EPS export page"); } |