Changeset 6342 for trunk/bp-friends/bp-friends-functions.php
- Timestamp:
- 09/18/2012 06:03:00 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-friends/bp-friends-functions.php
r6259 r6342 145 145 $friendship_id = BP_Friends_Friendship::get_friendship_id( $initiator_userid, $friend_userid ); 146 146 $friendship = new BP_Friends_Friendship( $friendship_id, true, false ); 147 147 148 148 if ( !$friendship->is_confirmed && BP_Friends_Friendship::withdraw( $friendship_id ) ) { 149 149 // Remove the friend request notice … … 227 227 /** 228 228 * Get a list of friends that a user can invite into this group. 229 * 229 * 230 230 * Excludes friends that are already in the group, and banned friends if the 231 231 * user is not a group admin. … … 355 355 add_action( 'delete_user', 'friends_remove_data' ); 356 356 add_action( 'bp_make_spam_user', 'friends_remove_data' ); 357 358 ?>
Note: See TracChangeset
for help on using the changeset viewer.