aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionPathsTask.cs
diff options
context:
space:
mode:
authorJPVenson <JPVenson@users.noreply.github.com>2023-06-27 16:05:07 +0200
committerGitHub <noreply@github.com>2023-06-27 16:05:07 +0200
commit0f60ec3013a4b1c776513fd92dc3829897b78db7 (patch)
tree1826a793b7201b6550df4dd124f00b976ecb3d7d /Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionPathsTask.cs
parent8b6fca59a1129c161e0b2ca44813921df20771b5 (diff)
Update Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionPathsTask.cs
Co-authored-by: Bond-009 <bond.009@outlook.com>
Diffstat (limited to 'Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionPathsTask.cs')
-rw-r--r--Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionPathsTask.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionPathsTask.cs b/Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionPathsTask.cs
index 989c37242..f8b044d46 100644
--- a/Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionPathsTask.cs
+++ b/Emby.Server.Implementations/ScheduledTasks/Tasks/CleanupCollectionPathsTask.cs
@@ -88,7 +88,7 @@ public class CleanupCollectionPathsTask : IScheduledTask
}
}
- if (itemsToRemove.Any())
+ if (itemsToRemove.Count != 0)
{
_logger.LogDebug("Update Boxset {CollectionName}", collection.Name);
collection.LinkedChildren = collection.LinkedChildren.Except(itemsToRemove).ToArray();