From 316623cb5c3c4cf22f1f3203957b7bd213d794ca Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 14 Jan 2016 12:17:11 -0500 Subject: [PATCH] update service name --- MediaBrowser.ServerApplication/BackgroundService.cs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/MediaBrowser.ServerApplication/BackgroundService.cs b/MediaBrowser.ServerApplication/BackgroundService.cs index da7537cd70..c091c08eef 100644 --- a/MediaBrowser.ServerApplication/BackgroundService.cs +++ b/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; }