aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.ServerApplication/App.xaml.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.ServerApplication/App.xaml.cs')
-rw-r--r--MediaBrowser.ServerApplication/App.xaml.cs25
1 files changed, 0 insertions, 25 deletions
diff --git a/MediaBrowser.ServerApplication/App.xaml.cs b/MediaBrowser.ServerApplication/App.xaml.cs
index 3c1524eec..762eb4cd2 100644
--- a/MediaBrowser.ServerApplication/App.xaml.cs
+++ b/MediaBrowser.ServerApplication/App.xaml.cs
@@ -222,35 +222,10 @@ namespace MediaBrowser.ServerApplication
var url = "http://localhost:" + configurationManager.Configuration.HttpServerPortNumber + "/" +
Kernel.Instance.WebApplicationName + "/dashboard/" + page;
- if (loggedInUser != null)
- {
- url = AddAutoLoginToDashboardUrl(url, loggedInUser);
- }
-
OpenUrl(url);
}
/// <summary>
- /// Adds the auto login to dashboard URL.
- /// </summary>
- /// <param name="url">The URL.</param>
- /// <param name="user">The user.</param>
- /// <returns>System.String.</returns>
- public static string AddAutoLoginToDashboardUrl(string url, User user)
- {
- if (url.IndexOf('?') == -1)
- {
- url += "?u=" + user.Id;
- }
- else
- {
- url += "&u=" + user.Id;
- }
-
- return url;
- }
-
- /// <summary>
/// Opens the URL.
/// </summary>
/// <param name="url">The URL.</param>