From 4c19b9382feb560e3735f4a16fe691f1851b5244 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Tue, 23 Jul 2013 08:29:28 -0400 Subject: [PATCH] show tips on web client home page --- MediaBrowser.Api/BaseApiService.cs | 2 -- MediaBrowser.Api/UserLibrary/UserLibraryService.cs | 2 -- 2 files changed, 4 deletions(-) diff --git a/MediaBrowser.Api/BaseApiService.cs b/MediaBrowser.Api/BaseApiService.cs index 06e9c80e80..ddc099a92f 100644 --- a/MediaBrowser.Api/BaseApiService.cs +++ b/MediaBrowser.Api/BaseApiService.cs @@ -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); diff --git a/MediaBrowser.Api/UserLibrary/UserLibraryService.cs b/MediaBrowser.Api/UserLibrary/UserLibraryService.cs index 951415694e..5664a90f98 100644 --- a/MediaBrowser.Api/UserLibrary/UserLibraryService.cs +++ b/MediaBrowser.Api/UserLibrary/UserLibraryService.cs @@ -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));