Fresh installs don't have a version number so this step cannot be complete yet

This commit is contained in:
Sebastiaan Janssen
2013-01-08 11:46:59 -01:00
parent 312288d459
commit ef67aae9d3

View File

@@ -34,6 +34,10 @@ namespace umbraco.presentation.install.steps.Definitions
//here we determine if the installer should skip this step...
public override bool Completed()
{
// Fresh installs don't have a version number so this step cannot be complete yet
if (string.IsNullOrEmpty(Umbraco.Core.Configuration.GlobalSettings.ConfigurationStatus))
return false;
var configuredVersion = new Version(Umbraco.Core.Configuration.GlobalSettings.ConfigurationStatus);
var targetVersion = UmbracoVersion.Current;