MDL-19583 Showing outcomes in user report if enabled at site level

This commit is contained in:
nicolasconnault
2009-06-23 00:37:22 +00:00
parent f39b778d66
commit 815a6f0eeb
+1 -1
View File
@@ -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;