diff --git a/src/Umbraco.Core/Actions/ActionToPublish.cs b/src/Umbraco.Core/Actions/ActionToPublish.cs index e7af16bc99..25719e30fc 100644 --- a/src/Umbraco.Core/Actions/ActionToPublish.cs +++ b/src/Umbraco.Core/Actions/ActionToPublish.cs @@ -6,6 +6,7 @@ namespace Umbraco.Cms.Core.Actions; /// /// This action is invoked when children to a document is being sent to published (by an editor without publishrights). /// +[Obsolete("Scheduled for removal in v13")] public class ActionToPublish : IAction { /// diff --git a/src/Umbraco.Core/Events/UserNotificationsHandler.cs b/src/Umbraco.Core/Events/UserNotificationsHandler.cs index 042355630f..4b581788e8 100644 --- a/src/Umbraco.Core/Events/UserNotificationsHandler.cs +++ b/src/Umbraco.Core/Events/UserNotificationsHandler.cs @@ -107,6 +107,7 @@ public sealed class UserNotificationsHandler : _notifier.Notify(_actions.GetAction(), updatedEntities.ToArray()); } + [Obsolete("Scheduled for removal in v13")] public void Handle(ContentSentToPublishNotification notification) => _notifier.Notify(_actions.GetAction(), notification.Entity);