From 146fbc4c9300db83e4e8c13fc66db09b6147601c Mon Sep 17 00:00:00 2001 From: Chanaka Indrajith Date: Tue, 12 Jun 2012 13:36:39 +0530 Subject: [PATCH] Remove useless variable cfgRelation from both constructor and getTable() function --- libraries/DisplayResults.class.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libraries/DisplayResults.class.php b/libraries/DisplayResults.class.php index b40761a862..5a8fed6de4 100644 --- a/libraries/DisplayResults.class.php +++ b/libraries/DisplayResults.class.php @@ -70,13 +70,12 @@ class PMA_DisplayResults /** * Constructor for PMA_DisplayResults class */ - public function __construct($db, $table, $goto, $sql_query, $cfgRelation) + public function __construct($db, $table, $goto, $sql_query) { $this->_db = $db; $this->_table = $table; $this->_goto = $goto; $this->_sql_query = $sql_query; - $this->_cfgRelation = $cfgRelation; } @@ -3695,7 +3694,6 @@ class PMA_DisplayResults * @global array $vertical_display informations used with vertical display * mode * @global array $highlight_columns column names to highlight - * @global array $cfgRelation the relation settings * @global array $showtable table definitions * * @return void @@ -3709,7 +3707,6 @@ class PMA_DisplayResults global $num_rows, $unlim_num_rows, $fields_meta, $fields_cnt; global $vertical_display, $highlight_columns; - global $cfgRelation; global $showtable; $table_html = '';