function course_signup_signup_insert in Course 7
Same name and namespace in other branches
- 6 modules/course_signup/course_signup.module \course_signup_signup_insert()
- 7.2 modules/course_signup/course_signup.module \course_signup_signup_insert()
Implements hook_signup_insert().
Enroll a user in the course if they sign up for a course.
File
- modules/
course_signup/ course_signup.module, line 88
Code
function course_signup_signup_insert($signup) {
course_signup_signup_enroll($signup);
}