You are here

function course_signup_signup_insert in Course 6

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

Implements hook_signup_insert().

Enrol a user in the course if they sign up for a course.

File

modules/course_signup/course_signup.module, line 85

Code

function course_signup_signup_insert($signup) {
  course_signup_signup_enroll($signup);
}