From c81918c9eeae86d359343f6506b484c9d7286607 Mon Sep 17 00:00:00 2001 From: Nikolaj Geisle <70372949+Zeegaan@users.noreply.github.com> Date: Mon, 9 Jan 2023 08:53:31 +0100 Subject: [PATCH] Return true if connectionstring configured (#13640) Signed-off-by: Zeegaan Signed-off-by: Zeegaan Co-authored-by: Zeegaan --- .../Installer/Steps/DatabaseConfigureStep.cs | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/Umbraco.New.Cms.Infrastructure/Installer/Steps/DatabaseConfigureStep.cs b/src/Umbraco.New.Cms.Infrastructure/Installer/Steps/DatabaseConfigureStep.cs index dd78e149e5..b7444146aa 100644 --- a/src/Umbraco.New.Cms.Infrastructure/Installer/Steps/DatabaseConfigureStep.cs +++ b/src/Umbraco.New.Cms.Infrastructure/Installer/Steps/DatabaseConfigureStep.cs @@ -47,20 +47,7 @@ public class DatabaseConfigureStep : IInstallStep // If the connection string is already present in config we don't need to configure it again if (_connectionStrings.CurrentValue.IsConnectionStringConfigured()) { - try - { - // Since a connection string was present we verify the db can connect and query - _databaseBuilder.ValidateSchema(); - - return Task.FromResult(false); - } - catch (Exception ex) - { - // Something went wrong, could not connect so probably need to reconfigure - _logger.LogError(ex, "An error occurred, reconfiguring..."); - - return Task.FromResult(true); - } + return Task.FromResult(false); } return Task.FromResult(true);