mirror of
https://github.com/Sonarr/Sonarr
synced 2025-02-24 15:11:27 +00:00
Fixed: Remove pending releases that are rejected
This commit is contained in:
parent
a5d7809b72
commit
5f927722df
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ namespace NzbDrone.Core.DecisionEngine
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return Rejections.Any() && Rejections.All(r => r.Type == RejectionType.Permanent);
|
return Rejections.Any() && Rejections.Any(r => r.Type == RejectionType.Permanent);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ namespace NzbDrone.Core.DecisionEngine.Specifications
|
||||||
_logger = logger;
|
_logger = logger;
|
||||||
}
|
}
|
||||||
|
|
||||||
public RejectionType Type { get { return RejectionType.Temporary; } }
|
public RejectionType Type { get { return RejectionType.Permanent; } }
|
||||||
|
|
||||||
public virtual Decision IsSatisfiedBy(RemoteEpisode subject, SearchCriteriaBase searchCriteria)
|
public virtual Decision IsSatisfiedBy(RemoteEpisode subject, SearchCriteriaBase searchCriteria)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue