WIP NetworkMap class

Former-commit-id: e6918056fa9d71d33cc3b06e3c265dc3856e45af
This commit is contained in:
fbsanchez 2019-03-11 15:10:22 +01:00
parent fcab1ae612
commit c8bad2b68a

View File

@ -1,6 +1,4 @@
<?php <?php
/** /**
* Class to manage networkmaps in Pandora FMS * Class to manage networkmaps in Pandora FMS
* *
@ -300,11 +298,11 @@ class NetworkMap
500, 500,
500, 500,
]; ];
/*
$this->graph['relations'] = clean_duplicate_links( $this->graph['relations'] = clean_duplicate_links(
$this->graph['relations'] $this->graph['relations']
); );
*/
$output .= '<script type="text/javascript"> $output .= '<script type="text/javascript">
//////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////
// VARS FROM THE DB // VARS FROM THE DB
@ -1039,8 +1037,6 @@ class NetworkMap
$output .= $this->loadMapData(); $output .= $this->loadMapData();
$output .= $this->loadController(); $output .= $this->loadController();
$output .= $this->loadAdvanceInterface(); $output .= $this->loadAdvanceInterface();
} else if (isset($this->graph)) {
// Build graph based on direct graph definition.
} }
if ($return === false) { if ($return === false) {