From d97d0040c250bbd80080da1fdd1361455080f20a Mon Sep 17 00:00:00 2001 From: Bjarne Fyrstenborg Date: Fri, 31 Dec 2021 10:46:14 +0100 Subject: [PATCH] Remove unused variable --- src/Umbraco.Web.BackOffice/Controllers/ContentController.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Umbraco.Web.BackOffice/Controllers/ContentController.cs b/src/Umbraco.Web.BackOffice/Controllers/ContentController.cs index 390235a486..450d763999 100644 --- a/src/Umbraco.Web.BackOffice/Controllers/ContentController.cs +++ b/src/Umbraco.Web.BackOffice/Controllers/ContentController.cs @@ -1053,8 +1053,6 @@ namespace Umbraco.Cms.Web.BackOffice.Controllers wasCancelled = saveResult.Success == false && saveResult.Result == OperationResultType.FailedCancelledByEvent; if (saveResult.Success) { - bool isBlueprint = contentItem.PersistedContent.Blueprint; - if (variantCount > 1) { var variantErrors = ModelState.GetVariantsWithErrors(cultureForInvariantErrors);