diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2016-10-14 15:36:05 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2016-10-14 15:36:05 +0200 |
commit | 70c7781aa8a1737b4c7ca8e935796b1ebc3d9f34 (patch) | |
tree | 5515907e5c06674e076429e597b77eb832bd53a2 /apps/comments/lib/Notification | |
parent | 1bcd2ca8e35dca6e68e5f06506ade0a78a2beae8 (diff) | |
download | nextcloud-server-70c7781aa8a1737b4c7ca8e935796b1ebc3d9f34.tar.gz nextcloud-server-70c7781aa8a1737b4c7ca8e935796b1ebc3d9f34.zip |
apply some polish
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/comments/lib/Notification')
-rw-r--r-- | apps/comments/lib/Notification/Listener.php | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/apps/comments/lib/Notification/Listener.php b/apps/comments/lib/Notification/Listener.php index 68705085023..426e85cac83 100644 --- a/apps/comments/lib/Notification/Listener.php +++ b/apps/comments/lib/Notification/Listener.php @@ -61,12 +61,6 @@ class Listener { public function evaluate(CommentsEvent $event) { $comment = $event->getComment(); - if($comment->getObjectType() !== 'files') { - // comments App serves files only, other object types/apps need to - // register their own ICommentsEventHandler and trigger notifications - return; - } - $mentions = $this->extractMentions($comment->getMessage()); if(empty($mentions)) { // no one to notify |