Author: Thibault Cohen <[email protected]>
Date: Tue Jan 29 14:58:49 2013 -0500
Committer: Lars Michelsen <[email protected]>
Commit-Date: Sun Feb 3 00:39:54 2013 +0100
* Fix ignore_hosts feature
---
share/server/core/sources/automap.php | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/share/server/core/sources/automap.php
b/share/server/core/sources/automap.php
index 0030002..5e7a9e1 100644
--- a/share/server/core/sources/automap.php
+++ b/share/server/core/sources/automap.php
@@ -309,6 +309,9 @@ function automap_fetch_tree($dir, $MAPCFG, $params,
&$saved_config, $obj_name, $
}
foreach($relations AS $rel_name) {
+ if (in_array($rel_name, $params['ignore_hosts']) == True){
+ continue;
+ }
$obj = automap_obj($MAPCFG, $params, $saved_config, $rel_name);
// Add to tree
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_jan
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins