MDL-31510 grader report: Fixed whitespace

This commit is contained in:
Sam Hemelryk
2012-04-30 12:13:14 +12:00
parent 60aaa96f61
commit 3b9d358d9d
-2
View File
@@ -347,7 +347,6 @@ class grade_report_user extends grade_report {
// The grade object can be marked visible but still be hidden
// if "enablegroupmembersonly" is on and its an activity assigned to a grouping the user is not in
if (!empty($grade_object->itemmodule) && !empty($grade_object->iteminstance)) {
$instances = $this->gtree->modinfo->get_instances();
if (!empty($instances[$grade_object->itemmodule][$grade_object->iteminstance])) {
$cm = $instances[$grade_object->itemmodule][$grade_object->iteminstance];
@@ -356,7 +355,6 @@ class grade_report_user extends grade_report {
}
}
}
/// Excluded Item
if ($grade_grade->is_excluded()) {
$fullname .= ' ['.get_string('excluded', 'grades').']';