Changeset 7530 for trunk/bp-friends/bp-friends-functions.php
- Timestamp:
- 11/08/2013 05:20:46 AM (12 years ago)
- File:
-
- 1 edited
-
trunk/bp-friends/bp-friends-functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-friends/bp-friends-functions.php
r7110 r7530 90 90 91 91 // Remove the friend request notice 92 bp_core_ delete_notifications_by_item_id( $friendship->friend_user_id, $friendship->initiator_user_id, $bp->friends->id, 'friendship_request' );92 bp_core_mark_notifications_by_item_id( $friendship->friend_user_id, $friendship->initiator_user_id, $bp->friends->id, 'friendship_request' ); 93 93 94 94 // Add a friend accepted notice for the initiating user … … 134 134 135 135 if ( !$friendship->is_confirmed && BP_Friends_Friendship::reject( $friendship_id ) ) { 136 136 137 // Remove the friend request notice 137 bp_core_ delete_notifications_by_item_id( $friendship->friend_user_id, $friendship->initiator_user_id, $bp->friends->id, 'friendship_request' );138 bp_core_mark_notifications_by_item_id( $friendship->friend_user_id, $friendship->initiator_user_id, $bp->friends->id, 'friendship_request' ); 138 139 139 140 do_action_ref_array( 'friends_friendship_rejected', array( $friendship_id, &$friendship ) );
Note: See TracChangeset
for help on using the changeset viewer.