mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00

New: Test button for indexers in UI Fixed: Testing download clients shows error messages in UI Fixed: Testing notifications shows error messages in UI
21 lines
470 B
C#
21 lines
470 B
C#
using System;
|
|
using NzbDrone.Core.ThingiProvider;
|
|
|
|
namespace NzbDrone.Core.Notifications
|
|
{
|
|
public class NotificationDefinition : ProviderDefinition
|
|
{
|
|
public Boolean OnGrab { get; set; }
|
|
public Boolean OnDownload { get; set; }
|
|
public Boolean OnUpgrade { get; set; }
|
|
|
|
public override Boolean Enable
|
|
{
|
|
get
|
|
{
|
|
return OnGrab || OnDownload || OnUpgrade;
|
|
}
|
|
}
|
|
}
|
|
}
|