AB#6233 - Removed code that cleared the connection string just after it was inserted

This commit is contained in:
Bjarke Berg
2020-04-30 12:57:17 +02:00
parent fcf37aa80f
commit 04872857e4
3 changed files with 4 additions and 25 deletions

View File

@@ -25,19 +25,21 @@ namespace Umbraco.Web.Common.Install
private readonly DatabaseBuilder _databaseBuilder;
private readonly InstallStatusTracker _installStatusTracker;
private readonly IRuntimeState _runtimeState;
private readonly IUmbracoApplicationLifetime _umbracoApplicationLifetime;
private readonly InstallStepCollection _installSteps;
private readonly ILogger _logger;
private readonly IProfilingLogger _proflog;
public InstallApiController(DatabaseBuilder databaseBuilder, IProfilingLogger proflog,
InstallHelper installHelper, InstallStepCollection installSteps, InstallStatusTracker installStatusTracker,
IRuntimeState runtimeState)
IRuntimeState runtimeState, IUmbracoApplicationLifetime umbracoApplicationLifetime)
{
_databaseBuilder = databaseBuilder ?? throw new ArgumentNullException(nameof(databaseBuilder));
_proflog = proflog ?? throw new ArgumentNullException(nameof(proflog));
_installSteps = installSteps;
_installStatusTracker = installStatusTracker;
_runtimeState = runtimeState;
_umbracoApplicationLifetime = umbracoApplicationLifetime;
InstallHelper = installHelper;
_logger = _proflog;
}
@@ -173,6 +175,7 @@ namespace Umbraco.Web.Common.Install
}
_installStatusTracker.Reset();
_umbracoApplicationLifetime.Restart();
return new InstallProgressResultModel(true, "", "");
}