mirror of https://github.com/lidarr/Lidarr
Remove dead Torznab presets
(cherry picked from commit 3454f1c9ed11fbb9aa66e16524a529e924e5a77e) Closes #4427
This commit is contained in:
parent
129eabe5b2
commit
729f2b7089
|
@ -1,3 +1,4 @@
|
||||||
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text.RegularExpressions;
|
using System.Text.RegularExpressions;
|
||||||
using FluentValidation;
|
using FluentValidation;
|
||||||
|
@ -10,10 +11,7 @@ namespace NzbDrone.Core.Indexers.Torznab
|
||||||
{
|
{
|
||||||
public class TorznabSettingsValidator : AbstractValidator<TorznabSettings>
|
public class TorznabSettingsValidator : AbstractValidator<TorznabSettings>
|
||||||
{
|
{
|
||||||
private static readonly string[] ApiKeyWhiteList =
|
private static readonly string[] ApiKeyWhiteList = Array.Empty<string>();
|
||||||
{
|
|
||||||
"hd4free.xyz",
|
|
||||||
};
|
|
||||||
|
|
||||||
private static bool ShouldHaveApiKey(TorznabSettings settings)
|
private static bool ShouldHaveApiKey(TorznabSettings settings)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue