Skip to content

Commit

Permalink
MDL-82545 gradereport_grader: Deprecate MAX_STUDENTS_PER_PAGE
Browse files Browse the repository at this point in the history
  • Loading branch information
marxjohnson committed Aug 22, 2024
1 parent 075c08f commit bdae5f5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion grade/report/grader/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,11 @@ class grade_report_grader extends grade_report {
*/
public $canviewhidden;

/** @var int Maximum number of students that can be shown on one page */
/**
* @var int Maximum number of students that can be shown on one page
* @deprecated Since Moodle 4.5 MDL-84245. Use grade_report_grader::get_max_students_per_page() instead.
*/
#[\core\attribute\deprecated('grade_report_grader::get_max_students_per_page()', since: '4.5', mdl: 'MDL-84245')]
public const MAX_STUDENTS_PER_PAGE = 5000;

/**
Expand Down

0 comments on commit bdae5f5

Please sign in to comment.