Skip to content

Commit

Permalink
MDL-83452 mod_assign: Remove add_body_class
Browse files Browse the repository at this point in the history
Remove extraneous $PAGE->add_body_class('limitedwidth'), unneeded since
MDL-74031 added a call to this.
  • Loading branch information
leonstr committed Oct 14, 2024
1 parent b48e64e commit 9567305
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions mod/assign/locallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -499,10 +499,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';
Expand Down

0 comments on commit 9567305

Please sign in to comment.