aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Comments/CommentsEvent.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/Comments/CommentsEvent.php')
-rw-r--r--lib/public/Comments/CommentsEvent.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/public/Comments/CommentsEvent.php b/lib/public/Comments/CommentsEvent.php
index b2116eb51ec..313df7e2ff7 100644
--- a/lib/public/Comments/CommentsEvent.php
+++ b/lib/public/Comments/CommentsEvent.php
@@ -32,10 +32,10 @@ use OCP\EventDispatcher\Event;
* @since 9.0.0
*/
class CommentsEvent extends Event {
- const EVENT_ADD = 'OCP\Comments\ICommentsManager::addComment';
- const EVENT_PRE_UPDATE = 'OCP\Comments\ICommentsManager::preUpdateComment';
- const EVENT_UPDATE = 'OCP\Comments\ICommentsManager::updateComment';
- const EVENT_DELETE = 'OCP\Comments\ICommentsManager::deleteComment';
+ public const EVENT_ADD = 'OCP\Comments\ICommentsManager::addComment';
+ public const EVENT_PRE_UPDATE = 'OCP\Comments\ICommentsManager::preUpdateComment';
+ public const EVENT_UPDATE = 'OCP\Comments\ICommentsManager::updateComment';
+ public const EVENT_DELETE = 'OCP\Comments\ICommentsManager::deleteComment';
/** @var string */
protected $event;