Merge branch 'wip-MDL-27684-MOODLE_25_STABLE' of git://github.com/satrun77/moodle into MOODLE_25_STABLE
This commit is contained in:
@@ -53,7 +53,7 @@ $linkexternal = optional_param('linkexternal', '', PARAM_ALPHA);
|
||||
$usefilereference = optional_param('usefilereference', false, PARAM_BOOL);
|
||||
|
||||
list($context, $course, $cm) = get_context_info_array($contextid);
|
||||
require_login($course, false, $cm);
|
||||
require_login($course, false, $cm, false, true);
|
||||
$PAGE->set_context($context);
|
||||
|
||||
echo $OUTPUT->header(); // send headers
|
||||
|
||||
Reference in New Issue
Block a user