function course_signup_mark_attended_action in Course 7.2
Same name and namespace in other branches
- 7 modules/course_signup/course_signup.module \course_signup_mark_attended_action()
Action to mark a signup attended from an enrollment.
1 call to course_signup_mark_attended_action()
- course_signup_confirmation_form_submit in modules/
course_signup/ course_signup.module - Submit callback for code form.
File
- modules/
course_signup/ course_signup.module, line 407
Code
function course_signup_mark_attended_action(&$enrollment, $context) {
if ($signup = course_signup_get_signup_from_enrollment($enrollment)) {
signup_mark_attended_action($signup);
}
}