MDL-19583 Showing outcomes in user report if enabled at site level
This commit is contained in:
@@ -107,7 +107,7 @@ class grade_report_user extends grade_report {
|
||||
$this->switch = grade_get_setting($this->courseid, 'aggregationposition', $CFG->grade_aggregationposition);
|
||||
|
||||
// Grab the grade_tree for this course
|
||||
$this->gtree = new grade_tree($this->courseid, false, $this->switch, false, true);
|
||||
$this->gtree = new grade_tree($this->courseid, false, $this->switch, false, !$CFG->enableoutcomes);
|
||||
|
||||
// Determine the number of rows and indentation
|
||||
$this->maxdepth = 1;
|
||||
|
||||
Reference in New Issue
Block a user