mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Honour new maintenance format (PR#835)
This commit is contained in:
@@ -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']));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user