mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-74602 mod_assign: disable activity header on embedded grader page
This commit is contained in:
parent
cc94ab171d
commit
0402dfdc95
@ -4756,6 +4756,8 @@ class assign {
|
||||
// Need submit permission to submit an assignment.
|
||||
$this->require_view_grades();
|
||||
|
||||
$PAGE->activityheader->disable();
|
||||
|
||||
$PAGE->set_pagelayout('embedded');
|
||||
|
||||
$courseshortname = $this->get_context()->get_course_context()->get_context_name(false, true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user