Changeset 3772 for trunk/bp-friends/bp-friends-loader.php
- Timestamp:
- 01/20/2011 06:25:30 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-friends/bp-friends-loader.php
r3757 r3772 380 380 $friendship = new BP_Friends_Friendship( $friendship_id ); 381 381 382 do_action( 'friends_before_friendship_delete', $friendship_id, $initiator_userid, $friend_userid ); 383 382 384 // Remove the activity stream item for the user who canceled the friendship 383 385 friends_delete_activity( array( 'item_id' => $friendship_id, 'type' => 'friendship_accepted', 'user_id' => $bp->displayed_user->id ) ); … … 590 592 global $bp; 591 593 594 do_action( 'friends_before_remove_data', $user_id ); 595 592 596 BP_Friends_Friendship::delete_all_for_user($user_id); 593 597
Note: See TracChangeset
for help on using the changeset viewer.