aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/ApiService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Api/ApiService.cs')
-rw-r--r--MediaBrowser.Api/ApiService.cs22
1 files changed, 1 insertions, 21 deletions
diff --git a/MediaBrowser.Api/ApiService.cs b/MediaBrowser.Api/ApiService.cs
index e6e4594c1..33ea492e0 100644
--- a/MediaBrowser.Api/ApiService.cs
+++ b/MediaBrowser.Api/ApiService.cs
@@ -1,6 +1,4 @@
-using MediaBrowser.Controller;
-using MediaBrowser.Controller.Entities;
-using System;
+using System;
using System.Net;
namespace MediaBrowser.Api
@@ -11,24 +9,6 @@ namespace MediaBrowser.Api
public static class ApiService
{
/// <summary>
- /// Gets a User by Id
- /// </summary>
- /// <param name="id">The id of the user</param>
- /// <returns>User.</returns>
- /// <exception cref="System.ArgumentNullException">id</exception>
- public static User GetUserById(string id)
- {
- if (string.IsNullOrEmpty(id))
- {
- throw new ArgumentNullException("id");
- }
-
- var guid = new Guid(id);
-
- return Kernel.Instance.GetUserById(guid);
- }
-
- /// <summary>
/// Determines whether [is API URL match] [the specified URL].
/// </summary>
/// <param name="url">The URL.</param>