aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs
diff options
context:
space:
mode:
authorignacio laborde <laborde.ignacio@gmail.com>2022-01-04 13:05:36 -0300
committerjgriff6 <74262798+jgriff6@users.noreply.github.com>2022-10-25 00:38:57 +0100
commitc6bf6e00de5906844396bee59e9e891b2903815e (patch)
tree010d6bd046dea9f8e0cbd7268593e19b8271cd74 /Emby.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs
parent790f67aac11e5c32bad19126d4e35b2afa259006 (diff)
Remove unnecessary ToList usage
Diffstat (limited to 'Emby.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs')
-rw-r--r--Emby.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs b/Emby.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs
index 9e35d83aa..d5e4a636e 100644
--- a/Emby.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs
+++ b/Emby.Server.Implementations/EntryPoints/LibraryChangedNotifier.cs
@@ -115,7 +115,7 @@ namespace Emby.Server.Implementations.EntryPoints
{
}
- var collectionFolders = _libraryManager.GetCollectionFolders(item).ToList();
+ var collectionFolders = _libraryManager.GetCollectionFolders(item);
foreach (var collectionFolder in collectionFolders)
{