mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-15007 is_aggregationcoef_used should be public
This commit is contained in:
parent
727c22375f
commit
4e9ca99131
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user