Merge branch 'ent-6107-console-notifications-doesnt-clean-afeter-solved' into 'develop'

Server notifications clean when solved

See merge request artica/pandorafms!3360
This commit is contained in:
Daniel Rodriguez 2020-07-22 13:47:57 +02:00
commit 7afc8902d3
1 changed files with 3 additions and 0 deletions

View File

@ -1221,6 +1221,9 @@ class ConsoleSupervisor
// At this point there's no servers with issues.
$this->cleanNotifications('NOTIF.SERVER.STATUS%');
return;
} else {
// Clean notifications. Only show notif for down servers.
$this->cleanNotifications('NOTIF.SERVER.STATUS%');
}
foreach ($servers as $server) {