Skip to content

Commit

Permalink
MDL-73354 mod_assign: Removed unused test code.
Browse files Browse the repository at this point in the history
  • Loading branch information
abgreeve committed Feb 9, 2022
1 parent 75aed26 commit c565ec4
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions mod/assign/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,6 @@

$url = new moodle_url('/mod/assign/view.php', $urlparams);
$PAGE->set_url($url);
// MDL-71915 Will remove this place holder.
if (defined('BEHAT_SITE_RUNNING')) {
$PAGE->has_secondary_navigation_setter(false);
if ($urlparams['action'] !== 'grader') {
$PAGE->add_header_action($OUTPUT->region_main_settings_menu());
}
}

// Update module completion status.
$assign->set_module_viewed();
Expand Down

0 comments on commit c565ec4

Please sign in to comment.