function og_membership_delete in Organic groups 7
Same name and namespace in other branches
- 7.2 og.module \og_membership_delete()
Delete an existing group membership.
Parameters
$membership: The group membership entity to be deleted.
File
- ./
og.module, line 1181 - Enable users to create and manage groups with roles and permissions.
Code
function og_membership_delete($id) {
return og_membership_delete_multiple(array(
$id,
));
}