Restored the behavior of itop-sla-computation (if present, then it becomes the default working hour computer)

SVN:trunk[2828]
This commit is contained in:
Romain Quetiez
2013-08-21 08:07:31 +00:00
parent 2dbcb6d416
commit 2893d16d58
3 changed files with 25 additions and 16 deletions

View File

@@ -756,7 +756,7 @@ EOF;
$aParameters['states'] = 'array('.implode(', ', $aStates).')';
$aParameters['goal_computing'] = $this->GetPropString($oField, 'goal', 'DefaultMetricComputer'); // Optional, no deadline by default
$aParameters['working_time_computing'] = $this->GetPropString($oField, 'working_time', 'DefaultWorkingTimeComputer'); // Optional, defaults to 24x7
$aParameters['working_time_computing'] = $this->GetPropString($oField, 'working_time', ''); // Blank (different than DefaultWorkingTimeComputer)
$oThresholds = $oField->GetUniqueElement('thresholds');
$oThresholdNodes = $oThresholds->getElementsByTagName('threshold');