Ensures that the starter kit view is not returned if there is one already installed

This commit is contained in:
Shannon
2014-03-05 12:44:38 +11:00
parent cbced2caed
commit ddd2ab463e

View File

@@ -73,6 +73,11 @@ namespace Umbraco.Web.Install.InstallSteps
}
public override string View
{
get { return (InstalledPackage.GetAllInstalledPackages().Count > 0) ? string.Empty : base.View; }
}
public override bool RequiresExecution()
{
if (InstalledPackage.GetAllInstalledPackages().Count > 0)