Browse Source

update service name

Luke Pulverenti 9 years ago
parent
commit
316623cb5c
1 changed files with 0 additions and 12 deletions
  1. 0 12
      MediaBrowser.ServerApplication/BackgroundService.cs

+ 0 - 12
MediaBrowser.ServerApplication/BackgroundService.cs

@@ -14,18 +14,6 @@ namespace MediaBrowser.ServerApplication
 
         public static string GetExistingServiceName()
         {
-            try
-            {
-                if (ServiceController.GetServices().Any(s => s.ServiceName == "MediaBrowser"))
-                {
-                    return "MediaBrowser";
-                }
-            }
-            catch
-            {
-                return "MediaBrowser";
-            }
-
             return Name;
         }