#12560 alert update manager

This commit is contained in:
Jonathan 2023-12-14 08:59:13 +01:00
parent dffdbff8b1
commit 6e150c1bc2

View File

@ -928,7 +928,9 @@ class ConsoleSupervisor
false
);
if ($prev !== false
if ($data['type'] === 'NOTIF.UPDATEMANAGER.REGISTRATION' && $prev !== false) {
return;
} else if ($prev !== false
&& (time() - $prev['timestamp']) > $max_age
) {
// Clean previous notification.