aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Sorting/PlayCountComparer.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2013-06-17 16:35:43 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2013-06-17 16:35:43 -0400
commite677a57bf1cedc55214b0e457778311b8f1ea5ac (patch)
tree9c0b045279901f5dd4a866f46ce2d378a6d41d68 /MediaBrowser.Server.Implementations/Sorting/PlayCountComparer.cs
parent95f471e8c3ab466488cc4c2fba1b15e14e00ee3c (diff)
switch to flat file storage
Diffstat (limited to 'MediaBrowser.Server.Implementations/Sorting/PlayCountComparer.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Sorting/PlayCountComparer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Server.Implementations/Sorting/PlayCountComparer.cs b/MediaBrowser.Server.Implementations/Sorting/PlayCountComparer.cs
index a7cbd2149..d4c22e6e0 100644
--- a/MediaBrowser.Server.Implementations/Sorting/PlayCountComparer.cs
+++ b/MediaBrowser.Server.Implementations/Sorting/PlayCountComparer.cs
@@ -35,7 +35,7 @@ namespace MediaBrowser.Server.Implementations.Sorting
/// <returns>DateTime.</returns>
private int GetValue(BaseItem x)
{
- var userdata = UserDataRepository.GetUserData(User.Id, x.GetUserDataKey()).Result;
+ var userdata = UserDataRepository.GetUserData(User.Id, x.GetUserDataKey());
return userdata == null ? 0 : userdata.PlayCount;
}