Changeset 779


Ignore:
Timestamp:
03/29/13 17:26:17 (9 years ago)
Author:
ramonb
Message:
  • some more cleanup and search fix
Location:
branches/0.4/web/addons/job_monarch
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/0.4/web/addons/job_monarch/graph.php

    r763 r779  
    112112        $trd = new TarchRrdGraph( $cluster, $hostname );
    113113        $rrd_dirs = $trd->getRrdDirs( $period_start, $period_stop );
     114
    114115    }
    115116
  • branches/0.4/web/addons/job_monarch/libtoga.php

    r778 r779  
    389389        global $JOB_ARCHIVE_DIR;
    390390
    391         $this->rrdbin        = $conf['rrdtool'];
    392         $this->rrdvalues    = array();
    393         $this->tarchdir        = $JOB_ARCHIVE_DIR;
    394         $this->clustername    = $clustername;
    395         $this->hostname        = $hostname;
     391        $this->rrdbin      = $conf['rrdtool'];
     392        $this->rrdvalues   = array();
     393        $this->tarchdir    = $JOB_ARCHIVE_DIR;
     394        $this->clustername = $clustername;
     395        $this->hostname    = $hostname;
    396396    }
    397397
  • branches/0.4/web/addons/job_monarch/search.php

    r778 r779  
    4343        $show_msg = 1;
    4444        $error_msg .= "No search criteria set!";
    45     }
    46 
    47     if( !is_numeric($id) and !$error and $id != '')
    48     {
    49 
    50         $error = true;
    51         $show_msg = 1;
    52         $error_msg .= "Id must be a number";
    5345    }
    5446
Note: See TracChangeset for help on using the changeset viewer.