mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-24 22:35:39 -04:00
Changed: Remove Language Profiles (#870)
* Changed: Remove Language Profiles * fixup! Changed: Remove Language Profiles * fixup! Changed: Remove Language Profiles * Remove unused method in FileNameBuilder * Fixed: Cleanup Int Converter Copy/Paste Issues and Grammar
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
using FluentValidation;
|
||||
using FluentValidation.Results;
|
||||
using NzbDrone.Core.Validation.Paths;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using NzbDrone.Core.Validation;
|
||||
|
||||
namespace NzbDrone.Core.Music
|
||||
@@ -20,7 +16,6 @@ namespace NzbDrone.Core.Music
|
||||
ArtistPathValidator artistPathValidator,
|
||||
ArtistAncestorValidator artistAncestorValidator,
|
||||
ProfileExistsValidator profileExistsValidator,
|
||||
LanguageProfileExistsValidator languageProfileExistsValidator,
|
||||
MetadataProfileExistsValidator metadataProfileExistsValidator)
|
||||
{
|
||||
RuleFor(c => c.Path).Cascade(CascadeMode.StopOnFirstFailure)
|
||||
@@ -31,8 +26,6 @@ namespace NzbDrone.Core.Music
|
||||
|
||||
RuleFor(c => c.QualityProfileId).SetValidator(profileExistsValidator);
|
||||
|
||||
RuleFor(c => c.LanguageProfileId).SetValidator(languageProfileExistsValidator);
|
||||
|
||||
RuleFor(c => c.MetadataProfileId).SetValidator(metadataProfileExistsValidator);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user