Remove dead code

Signed-off-by: Marc Delisle <marc@infomarc.info>
This commit is contained in:
Marc Delisle 2016-01-04 07:40:11 -05:00
parent e9ec1edaa1
commit 49302ec644
2 changed files with 2 additions and 20 deletions

View File

@ -203,7 +203,7 @@ class EpsRelationSchema extends ExportRelationSchema
private function _drawRelations()
{
foreach ($this->_relations as $relation) {
$relation->relationDraw($this->showColor);
$relation->relationDraw();
}
}

View File

@ -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,