Fixed: Remove pending releases that are rejected

pull/4/head
Mark McDowall 10 years ago
parent a5d7809b72
commit 5f927722df

@ -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…
Cancel
Save