From 4e9ca99131ab96eb53c3e4295d8d419cd04b4fd1 Mon Sep 17 00:00:00 2001 From: skodak Date: Tue, 27 May 2008 09:34:03 +0000 Subject: [PATCH] MDL-15007 is_aggregationcoef_used should be public --- lib/grade/grade_category.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/grade/grade_category.php b/lib/grade/grade_category.php index cd6a188e70..2c17322723 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); -- 2.39.5