mirror of
https://github.com/Radarr/Radarr
synced 2026-02-25 16:12:48 +01:00
Fixed: Only blocklist pending releases when option is checked
(cherry picked from commit d11c691a7389d8984ddcbbd299d3192690719a1a) Fixes #6730 Closes #6732
This commit is contained in:
parent
2737937d37
commit
498d9086b5
1 changed files with 5 additions and 1 deletions
|
|
@ -204,7 +204,11 @@ private TrackedDownload Remove(int id, bool removeFromClient, bool blocklist)
|
|||
|
||||
if (pendingRelease != null)
|
||||
{
|
||||
_blocklistService.Block(pendingRelease.RemoteMovie, "Pending release manually blocklisted");
|
||||
if (blocklist)
|
||||
{
|
||||
_blocklistService.Block(pendingRelease.RemoteMovie, "Pending release manually blocklisted");
|
||||
}
|
||||
|
||||
_pendingReleaseService.RemovePendingQueueItems(pendingRelease.Id);
|
||||
|
||||
return null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue