<name>com.woltlab.wcf.likeableArticle.recentActivityEvent</name>
<definitionname>com.woltlab.wcf.user.recentActivityEvent</definitionname>
<classname>wcf\system\user\activity\event\LikeableArticleUserActivityEvent</classname>
- <supportReactions>1</supportReactions>
+ <supportsReactions>1</supportsReactions>
</type>
<type>
<name>com.woltlab.wcf.articleComment.recentActivityEvent</name>
<definitionname>com.woltlab.wcf.notification.objectType</definitionname>
<classname>wcf\system\user\notification\object\type\LikeUserNotificationObjectType</classname>
<category>com.woltlab.wcf.user</category>
- <supportReactions>1</supportReactions>
+ <supportsReactions>1</supportsReactions>
</type>
<type>
<name>com.woltlab.wcf.user.profileComment.response.like.notification</name>
<definitionname>com.woltlab.wcf.notification.objectType</definitionname>
<classname>wcf\system\user\notification\object\type\LikeUserNotificationObjectType</classname>
<category>com.woltlab.wcf.user</category>
- <supportReactions>1</supportReactions>
+ <supportsReactions>1</supportsReactions>
</type>
<type>
*/
public function sendNotification(Like $like) {
$objectType = CommentHandler::getInstance()->getObjectType($this->getDecoratedObject()->objectTypeID);
- if (UserNotificationHandler::getInstance()->getObjectTypeID($objectType->objectType.'.like.notification') && UserNotificationHandler::getInstance()->getObjectTypeProcessor($objectType->objectType.'.like.notification')->supportReactions) {
+ if (UserNotificationHandler::getInstance()->getObjectTypeID($objectType->objectType.'.like.notification') && UserNotificationHandler::getInstance()->getObjectTypeProcessor($objectType->objectType.'.like.notification')->supportsReactions) {
if ($this->userID != WCF::getUser()->userID) {
$notificationObject = new LikeUserNotificationObject($like);
UserNotificationHandler::getInstance()->fireEvent(
public function sendNotification(Like $like) {
$comment = new Comment($this->getDecoratedObject()->commentID);
$objectType = CommentHandler::getInstance()->getObjectType($comment->objectTypeID);
- if (UserNotificationHandler::getInstance()->getObjectTypeID($objectType->objectType.'.response.like.notification') && UserNotificationHandler::getInstance()->getObjectTypeProcessor($objectType->objectType.'.response.like.notification')->supportReactions) {
+ if (UserNotificationHandler::getInstance()->getObjectTypeID($objectType->objectType.'.response.like.notification') && UserNotificationHandler::getInstance()->getObjectTypeProcessor($objectType->objectType.'.response.like.notification')->supportsReactions) {
if ($this->userID != WCF::getUser()->userID) {
$notificationObject = new LikeUserNotificationObject($like);
UserNotificationHandler::getInstance()->fireEvent(