function course_completion_page_access in Course 7
Same name and namespace in other branches
- 7.2 course.module \course_completion_page_access()
Access callback for completion page.
1 string reference to 'course_completion_page_access'
- course_menu in ./
course.module - Implements hook_menu().
File
- ./
course.module, line 3098 - course.module Core functionality for Courses.
Code
function course_completion_page_access($node) {
global $user;
return course_enrollment_check($node->nid, $user->uid);
}