You are here

function course_signup_mark_not_attended_action in Course 7.2

Same name and namespace in other branches
  1. 7 modules/course_signup/course_signup.module \course_signup_mark_not_attended_action()

Action to mark a signup not attended from an enrollment.

File

modules/course_signup/course_signup.module, line 416

Code

function course_signup_mark_not_attended_action(&$enrollment, $context) {
  if ($signup = course_signup_get_signup_from_enrollment($enrollment)) {
    signup_mark_not_attended_action($signup);
  }
}