Module: nagvis
Branch: master
Commit: 798571f892120403eaccaf7cc8e6a51e879adef2
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=798571f892120403eaccaf7cc8e6a51e879adef2

Author: Roman Kyrylych <[email protected]>
Date:   Thu Aug 20 18:10:54 2009 +0300

Do to not check has_been_checked field in Merlin backend

Signed-off-by: Roman Kyrylych <[email protected]>

---

 .../includes/classes/GlobalBackendmerlinmy.php     |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/share/nagvis/includes/classes/GlobalBackendmerlinmy.php 
b/share/nagvis/includes/classes/GlobalBackendmerlinmy.php
index 9e79d22..0e250c8 100755
--- a/share/nagvis/includes/classes/GlobalBackendmerlinmy.php
+++ b/share/nagvis/includes/classes/GlobalBackendmerlinmy.php
@@ -386,7 +386,7 @@ class GlobalBackendmerlinmy implements 
GlobalBackendInterface {
                                        }
                                }
                                
-                               if($data['has_been_checked'] == '0' || 
$data['current_state'] == '') {
+                               if($data['current_state'] == '') {
                                        $arrReturn['state'] = 'PENDING';
                                        $arrReturn['output'] = 
$this->CORE->LANG->getText('hostIsPending', Array('HOST' => $hostName));
                                } elseif($data['current_state'] == '0') {
@@ -516,7 +516,7 @@ class GlobalBackendmerlinmy implements 
GlobalBackendInterface {
                                                }
                                        }
                                        
-                                       if($data['has_been_checked'] == '0' || 
$data['current_state'] == '') {
+                                       if($data['current_state'] == '') {
                                                $arrTmpReturn['state'] = 
'PENDING';
                                                $arrTmpReturn['output'] = 
$this->CORE->LANG->getText('serviceNotChecked', Array('SERVICE' => 
$data['name2']));
                                        } elseif($data['current_state'] == '0') 
{


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to