mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-29 13:25:13 +02:00
cleaned up handling of Unknown quality type.
This commit is contained in:
@@ -45,18 +45,13 @@ namespace NzbDrone.Core.Qualities
|
||||
return _qualitySizeRepository.GetByQualityId(qualityId);
|
||||
}
|
||||
|
||||
public void Init()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void Handle(ApplicationStartedEvent message)
|
||||
{
|
||||
var existing = All();
|
||||
|
||||
_logger.Debug("Setting up default quality sizes");
|
||||
|
||||
foreach (var quality in Quality.All().Where(q => q.Id > 0))
|
||||
foreach (var quality in Quality.All())
|
||||
{
|
||||
if (!existing.Any(s => s.QualityId == quality.Id))
|
||||
{
|
||||
|
Reference in New Issue
Block a user