Skip to content
Snippets Groups Projects
Commit 0876f9ec authored by AttackVectorDelta's avatar AttackVectorDelta
Browse files

Updated arguments of require_course_login function call for mobile view

parent 9d9e7851
No related branches found
No related tags found
No related merge requests found
...@@ -53,7 +53,7 @@ class mobile { ...@@ -53,7 +53,7 @@ class mobile {
if (!$course) { if (!$course) {
print_error('coursemisconf'); print_error('coursemisconf');
} }
require_course_login($course, true, $cm); require_course_login($course, false, $cm, true, true);
$context = context_module::instance($cm->id); $context = context_module::instance($cm->id);
require_capability('mod/hvp:view', $context); require_capability('mod/hvp:view', $context);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment