1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-25 17:17:02 +00:00

Don't use EnvironmentProvider.IsProduction for services.

This commit is contained in:
Mark McDowall 2012-02-26 18:12:40 -08:00
parent 14b6036b2f
commit 9dfca378b1
2 changed files with 1 additions and 5 deletions

View file

@ -14,7 +14,7 @@ public static class HtmlIncludeExtentions
static HtmlIncludeExtentions()
{
versionString = new EnviromentProvider().Version.ToString().Replace('.', '_');
isProduction = EnviromentProvider.IsProduction;
isProduction = true;
}
public static MvcHtmlString IncludeScript(this HtmlHelper helper, string filename)

View file

@ -14,10 +14,6 @@
ViewBag.Title = String.Format("{0} - NzbDrone", ViewBag.Title);
}
<title>@ViewBag.Title</title>
@if (!EnviromentProvider.IsProduction)
{
@MvcMiniProfiler.MiniProfiler.RenderIncludes()
}
@RenderSection("HeaderContent", required: false)
}
<div id="centered">