MDL-58720 course: Return restricted sections and modules in get_contents
core_course_get_contents was only checking for modules visible by the user (via uservisible). It was not checking for modules that are not visible for the user but should be displayed in the course because they have access restrictions configured.
Please register or sign in to comment