function course_rules_action_course_unenroll in Course 7
Same name and namespace in other branches
- 8.3 includes/course.rules.inc \course_rules_action_course_unenroll()
- 8.2 includes/course.rules.inc \course_rules_action_course_unenroll()
- 7.2 includes/course.rules.inc \course_rules_action_course_unenroll()
Rules action handler for unenrollment.
1 string reference to 'course_rules_action_course_unenroll'
- course_rules_action_info in includes/
course.rules.inc - Implements hook_rules_action_info().
File
- includes/
course.rules.inc, line 76
Code
function course_rules_action_course_unenroll($node, $account) {
course_unenroll($node, $account);
}