V11: Obsolete action to publish (#14208)
* Add obsolete message to ActionToPublish * Obsolete handler for ContentSentTOPublishNotifcation
This commit is contained in:
@@ -6,6 +6,7 @@ namespace Umbraco.Cms.Core.Actions;
|
||||
/// <summary>
|
||||
/// This action is invoked when children to a document is being sent to published (by an editor without publishrights).
|
||||
/// </summary>
|
||||
[Obsolete("Scheduled for removal in v13")]
|
||||
public class ActionToPublish : IAction
|
||||
{
|
||||
/// <inheritdoc cref="IAction.ActionLetter"/>
|
||||
|
||||
@@ -107,6 +107,7 @@ public sealed class UserNotificationsHandler :
|
||||
_notifier.Notify(_actions.GetAction<ActionUpdate>(), updatedEntities.ToArray());
|
||||
}
|
||||
|
||||
[Obsolete("Scheduled for removal in v13")]
|
||||
public void Handle(ContentSentToPublishNotification notification) =>
|
||||
_notifier.Notify(_actions.GetAction<ActionToPublish>(), notification.Entity);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user