update UserDataManager

pull/702/head
Luke Pulverenti 9 years ago
parent accdbfaab2
commit 8000a30d9a

@ -170,22 +170,18 @@ namespace MediaBrowser.Server.Implementations.Library
return value; return value;
} }
} }
}
if (keys.Count > 0) if (keys.Count > 0)
{
return new UserItemData
{ {
var key = keys[0]; UserId = userId,
var cacheKey = GetCacheKey(userId, key); Key = keys[0]
var userdata = new UserItemData };
{
UserId = userId,
Key = key
};
_userData[cacheKey] = userdata;
return userdata;
}
return null;
} }
return null;
} }
/// <summary> /// <summary>

Loading…
Cancel
Save