From ec3f20419a1c71eee47169aec1ef4dc5ddb67977 Mon Sep 17 00:00:00 2001 From: nicolasconnault Date: Tue, 23 Jun 2009 00:38:29 +0000 Subject: [PATCH] MDL-19583 Showing outcomes in user report if enabled at site level. Merged from MOODLE_19_STABLE --- grade/report/user/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grade/report/user/lib.php b/grade/report/user/lib.php index 19d1d02da8..e5d60a8b07 100644 --- a/grade/report/user/lib.php +++ b/grade/report/user/lib.php @@ -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; -- 2.39.5