code standard/cleanups

git-svn-id: http://www.observium.org/svn/observer/trunk@1978 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2011-03-26 19:12:24 +00:00
parent ec7535c25a
commit 7454791074
19 changed files with 239 additions and 229 deletions
@@ -26,22 +26,22 @@ if ($device['os'] == "cometsystem-p85xx")
preg_match($regexp, $line, $match);
if ($match['name'])
{
$out[$match['id']]['name'] = $match['name'];
$out[$match['id']]['name'] = $match['name'];
}
if ($match['temp_intval'])
{
$out[$match['id']]['temp_intval'] = $match['temp_intval'];
$out[$match['id']]['temp_intval'] = $match['temp_intval'];
}
if ($match['limit_high'])
{
$out[$match['id']]['limit_high'] = $match['limit_high'];
$out[$match['id']]['limit_high'] = $match['limit_high'];
}
if ($match['limit_low'])
{
$out[$match['id']]['limit_low'] = $match['limit_low'];
$out[$match['id']]['limit_low'] = $match['limit_low'];
}
}