From c8995f9e132b4a3573f333aec7f0717f32902fc9 Mon Sep 17 00:00:00 2001 From: Leon Stringer Date: Mon, 14 Oct 2024 08:27:15 +0100 Subject: [PATCH] MDL-83452 mod_assign: Remove add_body_class Remove extraneous $PAGE->add_body_class('limitedwidth'), unneeded since MDL-74031 added a call to this. --- mod/assign/locallib.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mod/assign/locallib.php b/mod/assign/locallib.php index 46588ccbd1f29..2142242777135 100644 --- a/mod/assign/locallib.php +++ b/mod/assign/locallib.php @@ -525,10 +525,6 @@ public function view($action='', $args = array()) { $nextpageparams['id'] = $this->get_course_module()->id; } - if (empty($action)) { - $PAGE->add_body_class('limitedwidth'); - } - // Handle form submissions first. if ($action == 'savesubmission') { $action = 'editsubmission';