mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-26 22:46:37 -04:00
Remove Newznab & Torznab Anime Categories Setting
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user