From 003ac0200934739662a0c1b897d4b43bbe668911 Mon Sep 17 00:00:00 2001 From: Ronald Barendse Date: Mon, 4 Sep 2023 10:49:19 +0200 Subject: [PATCH] Revert #13281 and only set `UpgradeUnattended` value to true for new projects (#14764) * Revert "Change default UpgradeUnattended value to true (#13281)" This reverts commit e5d6372dbdfea41bc84cf3c69097d1f391976d2d. * Set UpgradeUnattended value to true for new projects --- src/Umbraco.Core/Configuration/Models/UnattendedSettings.cs | 2 +- templates/UmbracoProject/appsettings.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Umbraco.Core/Configuration/Models/UnattendedSettings.cs b/src/Umbraco.Core/Configuration/Models/UnattendedSettings.cs index 7f757d81c0..577fb9a2d9 100644 --- a/src/Umbraco.Core/Configuration/Models/UnattendedSettings.cs +++ b/src/Umbraco.Core/Configuration/Models/UnattendedSettings.cs @@ -13,7 +13,7 @@ namespace Umbraco.Cms.Core.Configuration.Models; public class UnattendedSettings { private const bool StaticInstallUnattended = false; - private const bool StaticUpgradeUnattended = true; + private const bool StaticUpgradeUnattended = false; /// /// Gets or sets a value indicating whether unattended installs are enabled. diff --git a/templates/UmbracoProject/appsettings.json b/templates/UmbracoProject/appsettings.json index f1e53a9e48..03457ad0b7 100644 --- a/templates/UmbracoProject/appsettings.json +++ b/templates/UmbracoProject/appsettings.json @@ -33,6 +33,9 @@ "ContentVersionCleanupPolicy": { "EnableCleanup": true } + }, + "Unattended": { + "UpgradeUnattended": true } } }