Changeset 9241 for trunk/src/bp-friends/bp-friends-functions.php
- Timestamp:
- 12/20/2014 04:29:56 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/bp-friends/bp-friends-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-friends/bp-friends-functions.php
r9174 r9241 112 112 do_action( 'friends_before_friendship_delete', $friendship_id, $initiator_userid, $friend_userid ); 113 113 114 // Remove the activity stream item for the user who canceled the friendship115 friends_delete_activity( array( 'item_id' => $friendship_id, 'type' => 'friendship_ accepted', 'user_id' => bp_displayed_user_id()) );114 // Remove the activity stream items about the friendship id 115 friends_delete_activity( array( 'item_id' => $friendship_id, 'type' => 'friendship_created', 'user_id' => 0 ) ); 116 116 117 117 /**
Note: See TracChangeset
for help on using the changeset viewer.