mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-10210 Removed the loading of the $CFG versions of the preferences when the user versions are set to default. This means that a value set to default always stays at default unless it is changed manually.
This commit is contained in:
parent
eabbdb0ee5
commit
41b477217d
@ -96,7 +96,7 @@ class grader_report_preferences_form extends moodleform {
|
||||
|
||||
$full_pref = 'grade_report_' . $pref;
|
||||
|
||||
$pref_value = get_user_preferences($full_pref, $CFG->$full_pref);
|
||||
$pref_value = get_user_preferences($full_pref);
|
||||
|
||||
$options = null;
|
||||
if (is_array($type)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user