Prevent student from seeing quiz when closed, bug 5070
This commit is contained in:
@@ -433,7 +433,7 @@
|
||||
if ($isteacher) {
|
||||
notify(get_string('notavailabletostudents', 'quiz'));
|
||||
} else {
|
||||
print_continue(get_string('notavailable', 'quiz'), "view.php?id={$cm->id}");
|
||||
notice(get_string('notavailable', 'quiz'), "view.php?id={$cm->id}");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user