mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-06-20 05:21:00 +02:00
Prevent health checks warnings for disabled notifications
This commit is contained in:
@@ -35,6 +35,11 @@ namespace NzbDrone.Core.Notifications
|
||||
_logger = logger;
|
||||
}
|
||||
|
||||
protected override List<NotificationDefinition> Active()
|
||||
{
|
||||
return base.Active().Where(c => c.Enable).ToList();
|
||||
}
|
||||
|
||||
public List<INotification> OnGrabEnabled(bool filterBlockedNotifications = true)
|
||||
{
|
||||
if (filterBlockedNotifications)
|
||||
|
||||
Reference in New Issue
Block a user