Skip to content

Commit

Permalink
MDL-74602 mod_assign: disable activity header on embedded grader page
Browse files Browse the repository at this point in the history
  • Loading branch information
snake committed May 3, 2022
1 parent cc18240 commit 4f7bd72
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mod/assign/locallib.php
Expand Up @@ -4756,6 +4756,8 @@ protected function view_grader() {
// 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);
Expand Down

0 comments on commit 4f7bd72

Please sign in to comment.