Remove dead code
Signed-off-by: Marc Delisle <marc@infomarc.info>
This commit is contained in:
parent
e9ec1edaa1
commit
49302ec644
@ -203,7 +203,7 @@ class EpsRelationSchema extends ExportRelationSchema
|
||||
private function _drawRelations()
|
||||
{
|
||||
foreach ($this->_relations as $relation) {
|
||||
$relation->relationDraw($this->showColor);
|
||||
$relation->relationDraw();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user