From 49302ec644f97ed2502eaf7c488dfa8d22ea9bb0 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Mon, 4 Jan 2016 07:40:11 -0500 Subject: [PATCH] Remove dead code Signed-off-by: Marc Delisle --- .../plugins/schema/eps/EpsRelationSchema.php | 2 +- .../plugins/schema/eps/RelationStatsEps.php | 20 +------------------ 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/libraries/plugins/schema/eps/EpsRelationSchema.php b/libraries/plugins/schema/eps/EpsRelationSchema.php index 0491cf7e7b..5caed6da00 100644 --- a/libraries/plugins/schema/eps/EpsRelationSchema.php +++ b/libraries/plugins/schema/eps/EpsRelationSchema.php @@ -203,7 +203,7 @@ class EpsRelationSchema extends ExportRelationSchema private function _drawRelations() { foreach ($this->_relations as $relation) { - $relation->relationDraw($this->showColor); + $relation->relationDraw(); } } diff --git a/libraries/plugins/schema/eps/RelationStatsEps.php b/libraries/plugins/schema/eps/RelationStatsEps.php index dd8d93f112..2382400032 100644 --- a/libraries/plugins/schema/eps/RelationStatsEps.php +++ b/libraries/plugins/schema/eps/RelationStatsEps.php @@ -47,30 +47,12 @@ class RelationStatsEps extends RelationStats * draws relation links and arrows * shows foreign key relations * - * @param boolean $showColor Whether to use one color per relation or not - * * @see PMA_EPS * * @return void */ - public function relationDraw($showColor) + public function relationDraw() { - /* Commented because $color unused. - if ($showColor) { - $listOfColors = array( - 'red', - 'grey', - 'black', - 'yellow', - 'green', - 'cyan', - 'orange' - ); - shuffle($listOfColors); - $color = $listOfColors[0]; - } else { - $color = 'black'; - }*/ // draw a line like -- to foreign field $this->diagram->line( $this->xSrc,