mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-01 00:24:21 +02:00
Allow notification to resume count/delay cycles after maintenance
This commit is contained in:
+2
-2
@@ -163,9 +163,9 @@ function RunAlerts() {
|
||||
$updet = false;
|
||||
$noacc = false;
|
||||
}
|
||||
if( IsMaintenance($device) > 0 ) {
|
||||
if( IsMaintenance($alert['device_id']) > 0 ) {
|
||||
$noiss = true;
|
||||
$noacc = false;
|
||||
$noacc = true;
|
||||
}
|
||||
if( $updet ) {
|
||||
dbUpdate(array('details' => gzcompress(json_encode($alert['details']),9)),'alert_log','id = ?',array($alert['id']));
|
||||
|
||||
Reference in New Issue
Block a user