Skip to:
Content

bbPress.org

Ticket #3638: notifications.diff

File notifications.diff, 639 bytes (added by cjerrells, 11 months ago)

Diff of changes

Line 
1213,215d212
2<               // Attempt to clear notifications for this topic
3<               $marked    = bp_notifications_mark_notifications_by_type( $user_id, $component, 'bbp_new_reply_' . $topic_id );
4<
5226c223
6<                               $marked = bp_notifications_mark_notifications_by_item_id( $user_id, $reply_id, $component, 'bbp_new_reply' );
7---
8>                               $marked = bp_notifications_mark_notifications_by_item_id( $user_id, $reply_id, $component, 'bbp_new_reply_' . $topic_id );
9234a232,235
10>               // Attempt to clear notifications for this topic
11>               $marked    = bp_notifications_mark_notifications_by_type( $user_id, $component, 'bbp_new_reply_' . $topic_id ) || $marked;
12>
13>