Changeset 2921
- Timestamp:
- 04/13/2010 08:54:50 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/bp-friends.php
r2817 r2921 634 634 global $bp; 635 635 636 if ( isset( $_GET['new']) )637 bp_core_delete_notifications_for_user_by_type( $bp-> displayed_user->id, $bp->friends->id, 'friendship_accepted' );636 if ( isset( $_GET['new'] ) ) 637 bp_core_delete_notifications_for_user_by_type( $bp->loggedin_user->id, $bp->friends->id, 'friendship_accepted' ); 638 638 } 639 639 add_action( 'bp_activity_screen_my_activity', 'friends_clear_friend_notifications' );
Note: See TracChangeset
for help on using the changeset viewer.