Refactoring usages of umbraco.GlobalSettings.CurrentVersion to use the new Umbraco.Core.Configuration.GlobalSettings.Version

This commit is contained in:
Morten Christensen
2012-11-26 09:57:05 -01:00
parent e07fc8c2ba
commit 3fe1975514
17 changed files with 58 additions and 35 deletions

View File

@@ -371,7 +371,7 @@ namespace umbraco.presentation
// Check for configured key, checking for currentversion to ensure that a request with
// no httpcontext don't set the whole app in configure mode
if (GlobalSettings.CurrentVersion != null && !GlobalSettings.Configured)
if (Umbraco.Core.Configuration.GlobalSettings.Version != null && !GlobalSettings.Configured)
{
HttpApp.Application["umbracoNeedConfiguration"] = true;
}