mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 07:56:06 +02:00
grade/report: MDL-21001 Gradebook shows ranges always
We unconditionnally set them to visible, ignoring configured settings. Fix it.
This commit is contained in:
parent
f8392c810c
commit
d09cad434b
@ -101,8 +101,6 @@ class grade_report_user extends grade_report {
|
||||
$this->showhiddenitems = grade_get_setting($this->courseid, 'report_user_showhiddenitems', $CFG->grade_report_user_showhiddenitems);
|
||||
$this->showtotalsifcontainhidden = grade_get_setting($this->courseid, 'report_user_showtotalsifcontainhidden', $CFG->grade_report_user_showtotalsifcontainhidden);
|
||||
|
||||
$this->showrange = true;
|
||||
|
||||
$this->switch = grade_get_setting($this->courseid, 'aggregationposition', $CFG->grade_aggregationposition);
|
||||
|
||||
// Grab the grade_tree for this course
|
||||
|
Loading…
x
Reference in New Issue
Block a user