show tips on web client home page

pull/702/head
Luke Pulverenti 11 years ago
parent 7ba0927ea6
commit 4c19b9382f

@ -296,8 +296,6 @@ namespace MediaBrowser.Api
auth.TryGetValue("Client", out client);
auth.TryGetValue("Version", out version);
version = version ?? "0.0.0.0";
if (!string.IsNullOrEmpty(client) && !string.IsNullOrEmpty(deviceId) && !string.IsNullOrEmpty(device) && !string.IsNullOrEmpty(version))
{
SessionManager.LogConnectionActivity(client, version, deviceId, device, user);

@ -598,8 +598,6 @@ namespace MediaBrowser.Api.UserLibrary
auth.TryGetValue("Client", out client);
auth.TryGetValue("Version", out version);
version = version ?? "0.0.0.0";
return _sessionManager.Sessions.First(i => string.Equals(i.DeviceId, deviceId) &&
string.Equals(i.Client, client) &&
string.Equals(i.ApplicationVersion, version));

Loading…
Cancel
Save