diff --git a/lib/grade/grade_category.php b/lib/grade/grade_category.php index cd6a188e70f..2c17322723e 100644 --- a/lib/grade/grade_category.php +++ b/lib/grade/grade_category.php @@ -768,7 +768,7 @@ class grade_category extends grade_object { * Returns true if category uses special aggregation coeficient * @return boolean true if coeficient used */ - private function is_aggregationcoef_used() { + public function is_aggregationcoef_used() { return ($this->aggregation == GRADE_AGGREGATE_WEIGHTED_MEAN or $this->aggregation == GRADE_AGGREGATE_EXTRACREDIT_MEAN or $this->aggregation == GRADE_AGGREGATE_SUM);