Honour new maintenance format (PR#835)

This commit is contained in:
f0o
2015-04-20 16:39:55 +00:00
parent 52846b2ec8
commit a2e4a0dcff
2 changed files with 22 additions and 2 deletions

View File

@@ -163,6 +163,10 @@ function RunAlerts() {
$updet = false;
$noacc = false;
}
if( IsMaintenance($device) > 0 ) {
$noiss = true;
$noacc = false;
}
if( $updet ) {
dbUpdate(array('details' => gzcompress(json_encode($alert['details']),9)),'alert_log','id = ?',array($alert['id']));
}