From 7cb39d038a59c2322f2ee8bbd56ccbcb05bc8c51 Mon Sep 17 00:00:00 2001 From: Dieter Adriaenssens Date: Sat, 5 May 2012 23:18:03 +0200 Subject: [PATCH 1/4] remove unused variables --- libraries/schema/Export_Relation_Schema.class.php | 1 - libraries/schema/User_Schema.class.php | 11 +++++------ libraries/schema/Visio_Relation_Schema.class.php | 5 +---- 3 files changed, 6 insertions(+), 11 deletions(-) diff --git a/libraries/schema/Export_Relation_Schema.class.php b/libraries/schema/Export_Relation_Schema.class.php index 39483a4402..e4ccef1b25 100644 --- a/libraries/schema/Export_Relation_Schema.class.php +++ b/libraries/schema/Export_Relation_Schema.class.php @@ -224,7 +224,6 @@ class PMA_Export_Relation_Schema */ function dieSchema($pageNumber, $type = '', $error_message = '') { - global $cfg; global $db; include_once './libraries/header.inc.php'; diff --git a/libraries/schema/User_Schema.class.php b/libraries/schema/User_Schema.class.php index e2922b46a1..fa4637ffb8 100644 --- a/libraries/schema/User_Schema.class.php +++ b/libraries/schema/User_Schema.class.php @@ -284,7 +284,7 @@ class PMA_User_Schema $i = 0; $odd_row = true; - foreach ($array_sh_page as $dummy_sh_page => $sh_page) { + foreach ($array_sh_page as $sh_page) { $_mtab = $sh_page['table_name']; $tabExist[$_mtab] = false; echo "\n" . '
@@ -434,7 +434,7 @@ class PMA_User_Schema