Fixes issue with db detection in install logger

This commit is contained in:
NielsHartvig@UMBRACORATI.localdomain
2013-01-31 10:39:30 -01:00
parent ac2c3ff321
commit 8473601f03

View File

@@ -61,6 +61,10 @@ namespace umbraco.presentation.webservices
}
installCookie.SetValue(installId.ToString());
string dbProvider = String.Empty;
if (!String.IsNullOrEmpty(Umbraco.Core.Configuration.GlobalSettings.ConfigurationStatus))
dbProvider = ApplicationContext.Current.DatabaseContext.DatabaseProvider.ToString();
org.umbraco.update.CheckForUpgrade check = new global::umbraco.presentation.org.umbraco.update.CheckForUpgrade();
check.Install(installId,
isUpgrade,
@@ -72,7 +76,7 @@ namespace umbraco.presentation.webservices
UmbracoVersion.CurrentComment,
errorMsg,
userAgent,
ApplicationContext.Current.DatabaseContext.DatabaseProvider.ToString());
dbProvider);
}
}