mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 13:38:32 +01:00
MDL-73354 mod_assign: Removed unused test code.
This commit is contained in:
parent
75aed26e78
commit
c565ec4535
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user