summaryrefslogtreecommitdiffstats
path: root/apps/comments
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2023-07-19 17:25:57 +0200
committerGitHub <noreply@github.com>2023-07-19 17:25:57 +0200
commit489b4807dbc52e69590846ff76d0d4d5b4ab2968 (patch)
tree723050e0fd96b3bef2338ca40c359b1548a2cc1d /apps/comments
parent8b3b5ff8d86613c2f9c85ff5c9c5441a451961b8 (diff)
parentc3bc575d992c6816a89bb18734146c67ecdd17d2 (diff)
downloadnextcloud-server-489b4807dbc52e69590846ff76d0d4d5b4ab2968.tar.gz
nextcloud-server-489b4807dbc52e69590846ff76d0d4d5b4ab2968.zip
Merge pull request #39304 from nextcloud/bugfix/noid/typed-event-comments-entity
fix(comments): Emit CommentsEntityEvent as typed event
Diffstat (limited to 'apps/comments')
-rw-r--r--apps/comments/lib/AppInfo/Application.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/comments/lib/AppInfo/Application.php b/apps/comments/lib/AppInfo/Application.php
index bfd66c43ecd..db147970a64 100644
--- a/apps/comments/lib/AppInfo/Application.php
+++ b/apps/comments/lib/AppInfo/Application.php
@@ -66,7 +66,7 @@ class Application extends App implements IBootstrap {
LoadSidebarScripts::class
);
$context->registerEventListener(
- CommentsEntityEvent::EVENT_ENTITY,
+ CommentsEntityEvent::class,
CommentsEntityEventListener::class
);
$context->registerSearchProvider(CommentsSearchProvider::class);