Commit 6e16d55c authored by Camille Tardy's avatar Camille Tardy
Browse files

Fix an issue where the page is blank (moodle 3.5.4.+) for student starting any...


Fix an issue where the page is blank (moodle 3.5.4.+) for student starting any quiz and the groupquiz setup page is blank for anyone. --> function in localib had the same name as one in quiz lib.
Signed-off-by: Camille Tardy's avatarCamille Tardy <camille.tardy@unige.ch>
parent 0d8609f6
......@@ -201,7 +201,7 @@ class quiz_group_observer{
public static function course_reset_ended($event) {
if (!empty(self::$resetinprogress)) {
if (!empty($event->other['reset_options']['reset_groups_remove'])) {
quiz_process_group_deleted_in_course($event->courseid);
quiz_process_grp_deleted_in_course($event->courseid);
}
}
......@@ -219,7 +219,7 @@ class quiz_group_observer{
// We will take care of that once the course reset ends.
return;
}
quiz_process_group_deleted_in_course($event->courseid);
quiz_process_grp_deleted_in_course($event->courseid);
}
}
\ No newline at end of file
......@@ -285,7 +285,7 @@ function dispatch_grade($quiz, $groupingid) {
* @param int $courseid The course ID.
* @return void
*/
function quiz_process_group_deleted_in_course($courseid) {
function quiz_process_grp_deleted_in_course($courseid) {
global $DB;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment