]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-15007 is_aggregationcoef_used should be public
authorskodak <skodak>
Tue, 27 May 2008 09:34:03 +0000 (09:34 +0000)
committerskodak <skodak>
Tue, 27 May 2008 09:34:03 +0000 (09:34 +0000)
lib/grade/grade_category.php

index cd6a188e70fb96fe5348732261e1aabbb1106cd8..2c17322723e23c545523016b381a8f1cca409f96 100644 (file)
@@ -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);