diff --git a/includes/polling/fanspeeds.inc.php b/includes/polling/fanspeeds.inc.php index 24e49b3c8..d17adad24 100755 --- a/includes/polling/fanspeeds.inc.php +++ b/includes/polling/fanspeeds.inc.php @@ -28,7 +28,6 @@ while($fanspeed = mysql_fetch_array($fan_data)) { rrdtool_update($fanrrd,"N:$fan"); if($fanspeed['fan_current'] > $fanspeed['fan_limit'] && $fan <= $fanspeed['fan_limit']) { - $updated = ", `service_changed` = '" . time() . "' "; # FIXME what's this if($device['sysContact']) { $email = $device['sysContact']; } else { $email = $config['email_default']; } $msg = "Fan Alarm: " . $device['hostname'] . " " . $fanspeed['fan_descr'] . " is " . $fan . "rpm (Limit " . $fanspeed['fan_limit']; $msg .= "rpm) at " . date('l dS F Y h:i:s A'); diff --git a/includes/polling/temperatures.inc.php b/includes/polling/temperatures.inc.php index f01062b89..59be0d5b6 100755 --- a/includes/polling/temperatures.inc.php +++ b/includes/polling/temperatures.inc.php @@ -39,7 +39,6 @@ while($temperature = mysql_fetch_array($temp_data)) { rrdtool_update($temprrd,"N:$temp"); if($temperature['temp_current'] < $temperature['temp_limit'] && $temp >= $temperature['temp_limit']) { - $updated = ", `service_changed` = '" . time() . "' "; # FIXME what's this if($device['sysContact']) { $email = $device['sysContact']; } else { $email = $config['email_default']; } $msg = "Temp Alarm: " . $device['hostname'] . " " . $temperature['temp_descr'] . " is " . $temp . " (Limit " . $temperature['temp_limit']; $msg .= ") at " . date('l dS F Y h:i:s A'); diff --git a/includes/polling/voltages.inc.php b/includes/polling/voltages.inc.php index 9c119aacf..12dcf7841 100755 --- a/includes/polling/voltages.inc.php +++ b/includes/polling/voltages.inc.php @@ -32,7 +32,6 @@ while($voltage = mysql_fetch_array($volt_data)) { if($voltage['volt_current'] > $voltage['volt_limit_low'] && $volt <= $voltage['volt_limit_low']) { - $updated = ", `service_changed` = '" . time() . "' "; # FIXME what's this? if($device['sysContact']) { $email = $device['sysContact']; } else { $email = $config['email_default']; } $msg = "Voltage Alarm: " . $device['hostname'] . " " . $voltage['volt_descr'] . " is " . $volt . "V (Limit " . $voltage['volt_limit']; $msg .= "V) at " . date('l dS F Y h:i:s A'); @@ -42,7 +41,6 @@ while($voltage = mysql_fetch_array($volt_data)) { } else if($voltage['volt_current'] < $voltage['volt_limit'] && $volt >= $voltage['volt_limit']) { - $updated = ", `service_changed` = '" . time() . "' "; # FIXME what's this? if($device['sysContact']) { $email = $device['sysContact']; } else { $email = $config['email_default']; } $msg = "Voltage Alarm: " . $device['hostname'] . " " . $voltage['volt_descr'] . " is " . $volt . "V (Limit " . $voltage['volt_limit']; $msg .= "V) at " . date('l dS F Y h:i:s A');