update service name

This commit is contained in:
Luke Pulverenti 2016-01-14 12:17:11 -05:00
parent 8b9e92916e
commit 316623cb5c

View File

@ -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;
}