diff --git a/src/NzbDrone.Core/Indexers/Newznab/NewznabSettings.cs b/src/NzbDrone.Core/Indexers/Newznab/NewznabSettings.cs index 466ebb6e4..72139ec3d 100644 --- a/src/NzbDrone.Core/Indexers/Newznab/NewznabSettings.cs +++ b/src/NzbDrone.Core/Indexers/Newznab/NewznabSettings.cs @@ -39,9 +39,9 @@ namespace NzbDrone.Core.Indexers.Newznab { Custom(newznab => { - if (newznab.Categories.Empty() && newznab.AnimeCategories.Empty()) + if (newznab.Categories.Empty()) { - return new ValidationFailure("", "Either 'Categories' or 'Anime Categories' must be provided"); + return new ValidationFailure("", "'Categories' must be provided"); } return null; @@ -61,7 +61,6 @@ namespace NzbDrone.Core.Indexers.Newznab public NewznabSettings() { Categories = new[] { 3000, 3010, 3020, 3030, 3040 }; - AnimeCategories = Enumerable.Empty(); } [FieldDefinition(0, Label = "URL")] @@ -73,9 +72,6 @@ namespace NzbDrone.Core.Indexers.Newznab [FieldDefinition(2, Label = "Categories", HelpText = "Comma Separated list, leave blank to disable standard/daily shows", Advanced = true)] public IEnumerable Categories { get; set; } - [FieldDefinition(3, Label = "Anime Categories", HelpText = "Comma Separated list, leave blank to disable anime", Advanced = true)] - public IEnumerable AnimeCategories { get; set; } - [FieldDefinition(4, Label = "Additional Parameters", HelpText = "Additional Newznab parameters", Advanced = true)] public string AdditionalParameters { get; set; } @@ -84,4 +80,4 @@ namespace NzbDrone.Core.Indexers.Newznab return new NzbDroneValidationResult(Validator.Validate(this)); } } -} \ No newline at end of file +} diff --git a/src/NzbDrone.Core/Indexers/Torznab/TorznabSettings.cs b/src/NzbDrone.Core/Indexers/Torznab/TorznabSettings.cs index 86d7be1a1..311f93fa6 100644 --- a/src/NzbDrone.Core/Indexers/Torznab/TorznabSettings.cs +++ b/src/NzbDrone.Core/Indexers/Torznab/TorznabSettings.cs @@ -31,9 +31,9 @@ namespace NzbDrone.Core.Indexers.Torznab { Custom(newznab => { - if (newznab.Categories.Empty() && newznab.AnimeCategories.Empty()) + if (newznab.Categories.Empty()) { - return new ValidationFailure("", "Either 'Categories' or 'Anime Categories' must be provided"); + return new ValidationFailure("", "'Categories' must be provided"); } return null; @@ -55,4 +55,4 @@ namespace NzbDrone.Core.Indexers.Torznab return new NzbDroneValidationResult(Validator.Validate(this)); } } -} \ No newline at end of file +}