4 | | I'm a bit worried about the use of `BP_Groups_Member::delete` in `groups_delete_membership_request()` because that will delete any record that involves the user and group, which could include any requests, invitations or memberships, right? In these functions, it follows the deletion of invitations while the group membership is being created, so I guess those other possible records are also being deleted. It's also used in `groups_reject_membership_request()` so it could potentially delete invitations as well as requests there. |
| 4 | I'm a bit worried about the use of `BP_Groups_Member::delete` in `groups_delete_membership_request()` because that will delete any record that involves the user and group, which could include any requests, invitations or memberships, right? In these functions, it follows the deletion of invitations while the group membership is being created, so I guess those other possible records are also being deleted anyway. It's also used in `groups_reject_membership_request()` so it could potentially delete invitations as well as requests there. |