1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

Fixed: Cleanup of unused tags for Import lists.

Fixes #4610

(cherry picked from commit 2f6409226a7338f63c923c221ae1efd47681ce9c)
This commit is contained in:
Taloth Saldono 2021-08-06 01:34:26 +02:00 committed by Robin Dadswell
parent 64045b0810
commit c93c87de30

View File

@ -20,7 +20,7 @@ public void Clean()
{ {
using (var mapper = _database.OpenConnection()) using (var mapper = _database.OpenConnection())
{ {
var usedTags = new[] { "Movies", "Notifications", "DelayProfiles", "Restrictions", "ImportLists" } var usedTags = new[] { "Movies", "Notifications", "DelayProfiles", "Restrictions", "ImportLists", "Indexers" }
.SelectMany(v => GetUsedTags(v, mapper)) .SelectMany(v => GetUsedTags(v, mapper))
.Distinct() .Distinct()
.ToList(); .ToList();