MDL-35984 Grades: Fix deprecation of grade_category::aggregate_values
This commit is contained in:
@@ -445,7 +445,7 @@ abstract class grade_report {
|
||||
|
||||
/**
|
||||
* Optionally blank out course/category totals if they contain any hidden items
|
||||
* @deprecated since Moodle 2.8 - Call blank_hidden_total_and_adjust_bounds instead.
|
||||
* Will be deprecated in Moodle 2.8 - Call blank_hidden_total_and_adjust_bounds instead.
|
||||
* @param string $courseid the course id
|
||||
* @param string $course_item an instance of grade_item
|
||||
* @param string $finalgrade the grade for the course_item
|
||||
|
||||
@@ -635,6 +635,7 @@ class grade_category extends grade_object {
|
||||
*
|
||||
* @param array $grade_values An array of values to be aggregated
|
||||
* @param array $items The array of grade_items
|
||||
* @since Moodle 2.6.5, 2.7.2
|
||||
* @return array containing values for:
|
||||
* 'grade' => the new calculated grade
|
||||
* 'grademin' => the new calculated min grade for the category
|
||||
@@ -789,7 +790,7 @@ class grade_category extends grade_object {
|
||||
*
|
||||
* Must be public as it is used by grade_grade::get_hiding_affected()
|
||||
*
|
||||
* @deprecated since Moodle 2.8
|
||||
* Will be deprecated in Moodle 2.8
|
||||
* @param array $grade_values An array of values to be aggregated
|
||||
* @param array $items The array of grade_items
|
||||
* @return float The aggregate grade for this grade category
|
||||
|
||||
Reference in New Issue
Block a user