function og_workflow_ng_action_remove_user in Organic groups 5.8
Same name and namespace in other branches
- 5 og_workflow_ng.inc \og_workflow_ng_action_remove_user()
- 5.3 og_workflow_ng.inc \og_workflow_ng_action_remove_user()
Action: Unsubscribe user from group.
File
- ./
og_workflow_ng.inc, line 136 - workflow_ng integration for og module.
Code
function og_workflow_ng_action_remove_user($user, $node, $settings) {
og_delete_subscription($node->nid, $user->uid);
}