From 4a48172af8c486c9c6d6c5fb2661f95f00c3e4e5 Mon Sep 17 00:00:00 2001 From: Carl Schwan Date: Mon, 4 May 2026 13:25:36 +0200 Subject: [PATCH] chore: Add comment about deprecation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Carl Schwan --- apps/comments/lib/Listener/CommentsEventListener.php | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/comments/lib/Listener/CommentsEventListener.php b/apps/comments/lib/Listener/CommentsEventListener.php index 61593d81107..544708c90bf 100644 --- a/apps/comments/lib/Listener/CommentsEventListener.php +++ b/apps/comments/lib/Listener/CommentsEventListener.php @@ -39,6 +39,7 @@ class CommentsEventListener implements IEventListener { || $event instanceof CommentUpdatedEvent || $event instanceof CommentDeletedEvent || $event instanceof BeforeCommentUpdatedEvent) { + // Dispatch the deprecated event name for backward compatibility $this->eventDispatcher->dispatchTyped(new CommentsEvent($event->getEvent(), $event->getComment())); }