aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Entities/Folder.cs
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2024-05-11 10:56:14 -0400
committerGitHub <noreply@github.com>2024-05-11 10:56:14 -0400
commit47b79df1360154fa3396904f1eb62f7f73be7a01 (patch)
tree53f8a63f695dbbd59a953e768f95d9fdb9adfd2b /MediaBrowser.Controller/Entities/Folder.cs
parent588fb9e82bbf58fae5d8d5643c57abfc49639e83 (diff)
Update MediaBrowser.Controller/Entities/Folder.cs
Diffstat (limited to 'MediaBrowser.Controller/Entities/Folder.cs')
-rw-r--r--MediaBrowser.Controller/Entities/Folder.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/Entities/Folder.cs b/MediaBrowser.Controller/Entities/Folder.cs
index f49e5f769..236e47f95 100644
--- a/MediaBrowser.Controller/Entities/Folder.cs
+++ b/MediaBrowser.Controller/Entities/Folder.cs
@@ -421,7 +421,7 @@ namespace MediaBrowser.Controller.Entities
validChildren.Add(child);
}
- // That's all the new and changed ones - now see if there are any that are missing
+ // That's all the new and changed ones - now see if any have been removed and need cleanup
var itemsRemoved = currentChildren.Values.Except(validChildren).ToList();
var shouldRemove = !IsRoot || allowRemoveRoot;
// If it's an AggregateFolder, don't remove