MDL-73354 mod_assign: Removed unused test code.

This commit is contained in:
Adrian Greeve 2022-01-18 14:37:20 +08:00
parent 75aed26e78
commit c565ec4535

View File

@ -43,13 +43,6 @@ $urlparams = array('id' => $id,
$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();