From 729f2b7089e6c684dc5acea8e1463e97ee275091 Mon Sep 17 00:00:00 2001 From: ilike2burnthing <59480337+ilike2burnthing@users.noreply.github.com> Date: Fri, 12 Jan 2024 00:37:18 +0000 Subject: [PATCH] Remove dead Torznab presets (cherry picked from commit 3454f1c9ed11fbb9aa66e16524a529e924e5a77e) Closes #4427 --- src/NzbDrone.Core/Indexers/Torznab/TorznabSettings.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/NzbDrone.Core/Indexers/Torznab/TorznabSettings.cs b/src/NzbDrone.Core/Indexers/Torznab/TorznabSettings.cs index 064e3978b..64379cfce 100644 --- a/src/NzbDrone.Core/Indexers/Torznab/TorznabSettings.cs +++ b/src/NzbDrone.Core/Indexers/Torznab/TorznabSettings.cs @@ -1,3 +1,4 @@ +using System; using System.Linq; using System.Text.RegularExpressions; using FluentValidation; @@ -10,10 +11,7 @@ namespace NzbDrone.Core.Indexers.Torznab { public class TorznabSettingsValidator : AbstractValidator { - private static readonly string[] ApiKeyWhiteList = - { - "hd4free.xyz", - }; + private static readonly string[] ApiKeyWhiteList = Array.Empty(); private static bool ShouldHaveApiKey(TorznabSettings settings) {