diff --git a/mod/assign/classes/output/grading_actionmenu.php b/mod/assign/classes/output/grading_actionmenu.php index 9cac2d04e30..ab58ec68283 100644 --- a/mod/assign/classes/output/grading_actionmenu.php +++ b/mod/assign/classes/output/grading_actionmenu.php @@ -71,7 +71,6 @@ class grading_actionmenu implements templatable, renderable { $downloadall = (new moodle_url('/mod/assign/view.php', ['id' => $this->cmid, 'action' => 'downloadall']))->out(false); } return [ - 'back' => (new moodle_url('/mod/assign/view.php', ['id' => $this->cmid]))->out(false), 'downloadall' => $downloadall ]; } diff --git a/mod/assign/templates/grading_actionmenu.mustache b/mod/assign/templates/grading_actionmenu.mustache index 56a3ac9f541..09fa68333c2 100644 --- a/mod/assign/templates/grading_actionmenu.mustache +++ b/mod/assign/templates/grading_actionmenu.mustache @@ -27,16 +27,12 @@ Example context (json): { - "back": "https://moodle.org", "downloadall": "https://moodle.org" } }}