mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
chore: Add comment about deprecation
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com> Signed-off-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
parent
13f57e073e
commit
4a48172af8
1 changed files with 1 additions and 0 deletions
|
|
@ -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()));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue