Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/08/2013 07:53:56 PM (11 years ago)
Author:
johnjamesjacoby
Message:

Use the correct function and update methods for marking user notifications as read. See #5148.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-screens.php

    r7529 r7537  
    137137 */
    138138function bp_activity_remove_screen_notifications() {
    139     bp_core_mark_all_notifications_by_type( bp_loggedin_user_id(), buddypress()->activity->id, 'new_at_mention' );
     139    bp_core_mark_notifications_by_type( bp_loggedin_user_id(), buddypress()->activity->id, 'new_at_mention' );
    140140}
    141141add_action( 'bp_activity_screen_my_activity',               'bp_activity_remove_screen_notifications' );
Note: See TracChangeset for help on using the changeset viewer.