From e9b9fb15c12e113bc323e55a1bc82db7b47e3eaa Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Sun, 1 Sep 2013 16:47:28 +0200 Subject: [PATCH] Can't install starterkits message was always showing, even if install folder was present --- .../umbraco/developer/Packages/StarterKits.aspx.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/Umbraco.Web.UI/umbraco/developer/Packages/StarterKits.aspx.cs b/src/Umbraco.Web.UI/umbraco/developer/Packages/StarterKits.aspx.cs index 0352406992..d7298d09a1 100644 --- a/src/Umbraco.Web.UI/umbraco/developer/Packages/StarterKits.aspx.cs +++ b/src/Umbraco.Web.UI/umbraco/developer/Packages/StarterKits.aspx.cs @@ -1,8 +1,5 @@ using System; -using System.Collections.Generic; using System.Linq; -using System.Web; -using System.Web.UI; using Umbraco.Core.IO; using Umbraco.Web.UI.Install.Steps.Skinning; using Umbraco.Web.UI.Pages; @@ -24,9 +21,9 @@ namespace Umbraco.Web.UI.Umbraco.Developer.Packages private void ShowStarterKits() { - if (Directory.Exists(this.Server.MapPath(SystemDirectories.Install)) == false) + if (Directory.Exists(Server.MapPath(SystemDirectories.Install)) == false) { - this.InstallationDirectoryNotAvailable.Visible = true; + InstallationDirectoryNotAvailable.Visible = true; StarterKitNotInstalled.Visible = false; StarterKitInstalled.Visible = false; @@ -41,7 +38,6 @@ namespace Umbraco.Web.UI.Umbraco.Developer.Packages StarterKitNotInstalled.Visible = true; StarterKitInstalled.Visible = false; - InstallationDirectoryNotAvailable.Visible = true; }