Changeset 9309
- Timestamp:
- 01/07/2015 10:19:16 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-functions.php
r9308 r9309 410 410 // Check if the user has an outstanding request. If so, delete it. 411 411 if ( groups_check_for_membership_request( $user_id, $group_id ) ) 412 groups_delete_membership_request( $user_id, $group_id );412 groups_delete_membership_request( null, $user_id, $group_id ); 413 413 414 414 // User is already a member, just return true … … 977 977 978 978 if ( groups_check_for_membership_request( $user_id, $group_id ) ) { 979 groups_delete_membership_request( $user_id, $group_id );979 groups_delete_membership_request( null, $user_id, $group_id ); 980 980 } 981 981
Note: See TracChangeset
for help on using the changeset viewer.