gradebook MDL-20617 replaced the missing range column on the user report

This commit is contained in:
andyjdavis
2010-12-20 16:39:30 +01:00
committed by Petr Skoda
parent 1d7908e7f7
commit 635f4f2c64
+3
View File
@@ -100,6 +100,9 @@ class grade_report_user extends grade_report {
$this->showpercentage = grade_get_setting($this->courseid, 'report_user_showpercentage', $CFG->grade_report_user_showpercentage);
$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);
//comment this out to hide the range column on the user report. Control of this via a setting was added to 2.0 (MDL-20617)
$this->showrange = true;
$this->switch = grade_get_setting($this->courseid, 'aggregationposition', $CFG->grade_aggregationposition);