update child count creation

This commit is contained in:
Luke Pulverenti
2016-06-16 09:24:12 -04:00
parent ed6a0b5296
commit 626a2ed2a9
10 changed files with 79 additions and 23 deletions

View File

@@ -549,8 +549,7 @@ namespace MediaBrowser.Server.Implementations.Dto
private int GetChildCount(Folder folder, User user)
{
return folder.GetChildren(user, true)
.Count();
return folder.GetChildCount(user);
}
/// <summary>