Show
Ignore:
Timestamp:
08/21/08 11:36:00 (5 months ago)
Author:
jmathis
Message:

remove support without NDO

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/centreon/www/include/monitoring/status/monitoringService.php

    r6132 r6217  
    4040                submitPassiveCheck(); 
    4141 
    42         $DBRESULT =& $pearDB->query("SELECT ndo_activate FROM general_opt LIMIT 1"); 
    43         # Set base value 
    44         $gopt = array_map("myDecode", $DBRESULT->fetchRow()); 
    45  
    46         $ndo = $gopt["ndo_activate"]; 
    47  
    4842        if ($o == "svcSch"){ 
    4943                $_GET["sort_types"] = "next_check"; 
     
    5347        $metaservicepath = "metaService.php"; 
    5448         
    55         if (isset($ndo) && !$ndo){ 
    56                 $path = "./include/monitoring/status/status-log/"; 
    57                 include("./include/monitoring/status/resume.php"); 
    58                 $problem = "_problem"; 
    59                 $metaservicepath = $path."metaService.php"; 
    60         } else { 
    61                 $problem = ""; 
    62                 $path = "./include/monitoring/status/status-ndo/"; 
    63                 $metaservicepath = $path."service.php"; 
    64         } 
     49        $problem = ""; 
     50        $path = "./include/monitoring/status/status-ndo/"; 
     51        $metaservicepath = $path."service.php"; 
    6552 
    6653        $pathRoot               = "./include/monitoring/";