Module: nagvis
Branch: master
Commit: cf2bbd9808710b70d6b65cadbfaccac7412f37e0
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=cf2bbd9808710b70d6b65cadbfaccac7412f37e0

Author: Lars Michelsen <[email protected]>
Date:   Tue Sep 14 22:01:47 2010 +0200

#351 The backend_id option from automap configuration files is now treated 
correctly

---

 share/server/core/classes/NagVisAutoMap.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/share/server/core/classes/NagVisAutoMap.php 
b/share/server/core/classes/NagVisAutoMap.php
index 67ff0e6..c763534 100644
--- a/share/server/core/classes/NagVisAutoMap.php
+++ b/share/server/core/classes/NagVisAutoMap.php
@@ -101,7 +101,7 @@ class NagVisAutoMap extends GlobalMap {
                $this->checkPreflight();
                
                if(!isset($prop['backend']) || $prop['backend'] == '')
-                       $prop['backend'] = 
$this->CORE->getMainCfg()->getValue('defaults', 'backend');
+                       $prop['backend'] = $this->MAPCFG->getValue('global', 0, 
'backend_id');
 
                $this->backend_id = $prop['backend'];
                


------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to