consolidate connect calls

This commit is contained in:
Luke Pulverenti
2014-09-14 14:47:48 -04:00
parent 9991360d8a
commit 9ad7d5d1a9
12 changed files with 49 additions and 49 deletions

View File

@@ -261,18 +261,6 @@ namespace MediaBrowser.Server.Implementations.Connect
return user;
}
public ConnectUserLink GetUserInfo(string userId)
{
var user = GetUser(userId);
return new ConnectUserLink
{
LocalUserId = user.Id.ToString("N"),
Username = user.ConnectUserName,
UserId = user.ConnectUserId
};
}
private string GetConnectUrl(string handler)
{
return "https://connect.mediabrowser.tv/service/" + handler;