mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
Server notifications clean when solved
This commit is contained in:
parent
50ef2f6e54
commit
71eaebc03b
@ -1221,6 +1221,9 @@ class ConsoleSupervisor
|
|||||||
// At this point there's no servers with issues.
|
// At this point there's no servers with issues.
|
||||||
$this->cleanNotifications('NOTIF.SERVER.STATUS%');
|
$this->cleanNotifications('NOTIF.SERVER.STATUS%');
|
||||||
return;
|
return;
|
||||||
|
} else {
|
||||||
|
// Clean notifications. Only show notif for down servers.
|
||||||
|
$this->cleanNotifications('NOTIF.SERVER.STATUS%');
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($servers as $server) {
|
foreach ($servers as $server) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user