From 37197150beb175c97277787ede6bbe95707f7f15 Mon Sep 17 00:00:00 2001 From: Qstick Date: Sun, 4 Oct 2020 00:35:09 -0400 Subject: [PATCH] Some cleanup of things marked for removal in v3 Fixes #5102 Co-Authored-By: Mark McDowall --- src/NzbDrone.Api/Indexers/ReleaseResource.cs | 4 +--- .../DownloadClientTests/SabnzbdTests/SabnzbdFixture.cs | 1 - .../Download/Clients/Sabnzbd/SabnzbdDownloadStatus.cs | 3 +-- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/NzbDrone.Api/Indexers/ReleaseResource.cs b/src/NzbDrone.Api/Indexers/ReleaseResource.cs index 145df5011..c91a62971 100644 --- a/src/NzbDrone.Api/Indexers/ReleaseResource.cs +++ b/src/NzbDrone.Api/Indexers/ReleaseResource.cs @@ -56,9 +56,7 @@ namespace NzbDrone.Api.Indexers public int? Leechers { get; set; } public DownloadProtocol Protocol { get; set; } - // TODO: Remove in v3 - // Used to support the original Release Push implementation - // JsonIgnore so we don't serialize it, but can still parse it + // JsonIgnore so we don't serialize it, but can still parse it, removed in v3 [JsonIgnore] public DownloadProtocol DownloadProtocol { diff --git a/src/NzbDrone.Core.Test/Download/DownloadClientTests/SabnzbdTests/SabnzbdFixture.cs b/src/NzbDrone.Core.Test/Download/DownloadClientTests/SabnzbdTests/SabnzbdFixture.cs index a9af73675..4edff6664 100644 --- a/src/NzbDrone.Core.Test/Download/DownloadClientTests/SabnzbdTests/SabnzbdFixture.cs +++ b/src/NzbDrone.Core.Test/Download/DownloadClientTests/SabnzbdTests/SabnzbdFixture.cs @@ -216,7 +216,6 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests.SabnzbdTests [TestCase(SabnzbdDownloadStatus.Checking)] [TestCase(SabnzbdDownloadStatus.Downloading)] [TestCase(SabnzbdDownloadStatus.QuickCheck)] - [TestCase(SabnzbdDownloadStatus.ToPP)] [TestCase(SabnzbdDownloadStatus.Verifying)] [TestCase(SabnzbdDownloadStatus.Repairing)] [TestCase(SabnzbdDownloadStatus.Fetching)] diff --git a/src/NzbDrone.Core/Download/Clients/Sabnzbd/SabnzbdDownloadStatus.cs b/src/NzbDrone.Core/Download/Clients/Sabnzbd/SabnzbdDownloadStatus.cs index 71eb9f755..9b49edc8a 100644 --- a/src/NzbDrone.Core/Download/Clients/Sabnzbd/SabnzbdDownloadStatus.cs +++ b/src/NzbDrone.Core/Download/Clients/Sabnzbd/SabnzbdDownloadStatus.cs @@ -1,4 +1,4 @@ -namespace NzbDrone.Core.Download.Clients.Sabnzbd +namespace NzbDrone.Core.Download.Clients.Sabnzbd { public enum SabnzbdDownloadStatus { @@ -7,7 +7,6 @@ Paused, Checking, Downloading, - ToPP, // TODO: Remove in v3 QuickCheck, Verifying, Repairing,