aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Dto/DtoService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-06-16 09:24:12 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-06-16 09:24:12 -0400
commit626a2ed2a90d6be52d4e8ee636bcbb5337443aef (patch)
treeb94f4698494f91ebc0ef272c3d6575ba08a9290c /MediaBrowser.Server.Implementations/Dto/DtoService.cs
parented6a0b52966c1212a93f678c93acbecb3d7f4606 (diff)
update child count creation
Diffstat (limited to 'MediaBrowser.Server.Implementations/Dto/DtoService.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Dto/DtoService.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/MediaBrowser.Server.Implementations/Dto/DtoService.cs b/MediaBrowser.Server.Implementations/Dto/DtoService.cs
index 31a35eec9..95a235109 100644
--- a/MediaBrowser.Server.Implementations/Dto/DtoService.cs
+++ b/MediaBrowser.Server.Implementations/Dto/DtoService.cs
@@ -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>