apps/comments/lib/Controller/Notifications.php
/**
	 * Marks the notification about a comment as processed
	 * @param IComment $comment
	 */
Marks the notification about a comment as processed
@param IComment $comment
Marks the notification about a comment as processed @param IComment $comment
protected function markProcessed(IComment $comment) {
		$user = $this->userSession->getUser();
		if(is_null($user)) {
			return;
		}
		$notification = $this->notificationManager->createNotification();
		$notification->setApp('comments')
			->setObject('comment', $comment->getId())
			->setSubject('mention')
			->setUser($user->getUID());
		$this->notificationManager->markProcessed($notification);
	}
protected function markProcessed ( IComment $ comment ) { $ user = $ this -> userSession -> getUser ( ) ; if ( is_null ( $ user ) ) { return ; } $ notification = $ this -> notificationManager -> createNotification ( ) ; $ notification -> setApp ( 'comments' ) -> setObject ( 'comment' , $ comment -> getId ( ) ) -> setSubject ( 'mention' ) -> setUser ( $ user -> getUID ( ) ) ; $ this -> notificationManager -> markProcessed ( $ notification ) ; }
Marks the notification about a comment as processed
 @param IComment $comment
Marks the notification about a comment as processed @param IComment $comment