Removed user item rating mode for now - it's too much work for the ui devs

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti
2012-09-09 15:06:56 -04:00
parent 2441ba0c6d
commit 8530e69878
5 changed files with 1 additions and 51 deletions

View File

@@ -41,18 +41,11 @@ namespace MediaBrowser.Api.HttpHandlers
data.Rating = null;
}
// If the user's rating mode is set to like/dislike
else if (user.ItemRatingMode == ItemRatingMode.LikeOrDislike)
else
{
data.Likes = QueryString["likes"] == "1";
}
// If the user's rating mode is set to numeric
else if (user.ItemRatingMode == ItemRatingMode.Numeric)
{
data.Rating = float.Parse(QueryString["value"]);
}
return Task.FromResult<DTOUserItemData>(ApiService.GetDTOUserItemData(data));
}
}