MDL-15007 is_aggregationcoef_used should be public

This commit is contained in:
skodak 2008-05-27 09:34:03 +00:00
parent 727c22375f
commit 4e9ca99131

View 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);