From 7f5d22b587187e2868731fa6c58c2194fd6da82d Mon Sep 17 00:00:00 2001 From: Warren Date: Fri, 3 Aug 2018 08:35:01 +0100 Subject: [PATCH] Adds in the email notification service taken from the old sorter WebService to use in the ContentEditor Controller --- src/Umbraco.Web/Editors/ContentController.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Umbraco.Web/Editors/ContentController.cs b/src/Umbraco.Web/Editors/ContentController.cs index 7b5b728e7d..609a2694e0 100644 --- a/src/Umbraco.Web/Editors/ContentController.cs +++ b/src/Umbraco.Web/Editors/ContentController.cs @@ -986,6 +986,12 @@ namespace Umbraco.Web.Editors Logger.Warn("Content sorting failed, this was probably caused by an event being cancelled"); return Request.CreateValidationErrorResponse("Content sorting failed, this was probably caused by an event being cancelled"); } + + if (sorted.ParentId > 0) + { + Services.NotificationService.SendNotification(contentService.GetById(sorted.ParentId), ActionSort.Instance, UmbracoContext, Services.TextService, GlobalSettings); + } + return Request.CreateResponse(HttpStatusCode.OK); } catch (Exception ex)