The branch, master has been updated via a8be4eb8c7a55ba6d3731c6fc6f3b65609ddec3d (commit) via b99420e2aef859ff4c266fa7b31b90d80edbd8e2 (commit) from ebb47823a235c64c4f0200204cf5dfcb8b9f6604 (commit)
- Log ----------------------------------------------------------------- commit a8be4eb8c7a55ba6d3731c6fc6f3b65609ddec3d Merge: b99420e ebb4782 Author: Michal Čihař michal@cihar.com Date: Tue Aug 23 15:09:49 2011 +0200
Merge branch 'master' of ssh://phpmyadmin.git.sourceforge.net/gitroot/phpmyadmin/phpmyadmin
commit b99420e2aef859ff4c266fa7b31b90d80edbd8e2 Author: Michal Čihař michal@cihar.com Date: Tue Aug 23 15:02:18 2011 +0200
Remove some unused variables
-----------------------------------------------------------------------
Summary of changes: libraries/schema/Pdf_Relation_Schema.class.php | 10 ++-------- 1 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/libraries/schema/Pdf_Relation_Schema.class.php b/libraries/schema/Pdf_Relation_Schema.class.php index aa08a6a..6108375 100644 --- a/libraries/schema/Pdf_Relation_Schema.class.php +++ b/libraries/schema/Pdf_Relation_Schema.class.php @@ -798,8 +798,6 @@ class PMA_Pdf_Relation_Schema extends PMA_Export_Relation_Schema /** * Defines properties */ - private $_tables = array(); - private $_relations = array(); private $_ff = PMA_PDF_FONT; private $_xMax = 0; private $_yMax = 0; @@ -823,7 +821,7 @@ class PMA_Pdf_Relation_Schema extends PMA_Export_Relation_Schema */ function __construct() { - global $pdf,$db,$cfgRelation; + global $pdf, $db;
$this->setPageNumber($_POST['pdf_page_number']); $this->setShowGrid(isset($_POST['show_grid'])); @@ -1115,7 +1113,7 @@ class PMA_Pdf_Relation_Schema extends PMA_Export_Relation_Schema */ private function _showOutput($pageNumber) { - global $pdf, $db, $cfgRelation; + global $pdf, $cfgRelation;
// Get the name of this pdfpage to use as filename $_name_sql = 'SELECT page_descr FROM ' @@ -1165,7 +1163,6 @@ class PMA_Pdf_Relation_Schema extends PMA_Export_Relation_Schema // 'L', 0, $pdf->PMA_links['doc'][$table][$field_name] //); } - $lasttable = $table; $i++; } $pdf->PMA_links['RT']['-'] = $pdf->AddLink(); @@ -1206,9 +1203,6 @@ class PMA_Pdf_Relation_Schema extends PMA_Export_Relation_Schema * Gets table informations */ $showtable = PMA_Table::sGetStatusInfo($db, $table); - $num_rows = isset($showtable['Rows']) - ? $showtable['Rows'] - : 0; $show_comment = isset($showtable['Comment']) ? $showtable['Comment'] : '';
hooks/post-receive