mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Merge branch 'MDL-56617-course-cbm-grade-to-pass' of https://github.com/lucaboesch/moodle
This commit is contained in:
commit
da2959fe9c
@ -596,6 +596,10 @@ class mod_quiz_mod_form extends moodleform_mod {
|
||||
}
|
||||
}
|
||||
|
||||
// If CBM is involved, don't show the warning for grade to pass being larger than the maximum grade.
|
||||
if (($data['preferredbehaviour'] == 'deferredcbm') OR ($data['preferredbehaviour'] == 'immediatecbm')) {
|
||||
unset($errors['gradepass']);
|
||||
}
|
||||
// Any other rule plugins.
|
||||
$errors = quiz_access_manager::validate_settings_form_fields($errors, $data, $files, $this);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user