mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
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:
commit
7afc8902d3
@ -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