Skip to content

Commit

Permalink
MDL-82681 mod_assign: Deprecate process_save_grading_options()
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihail Geshoski committed Sep 20, 2024
1 parent 8f3ca13 commit 2c2e998
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .upgradenotes/MDL-82681-2024091902542827.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
issueNumber: MDL-82681
notes:
mod_assign:
- message: >-
The method process_save_grading_options() has been deprecated as it is
no longer used.
type: deprecated
9 changes: 9 additions & 0 deletions mod/assign/locallib.php
Original file line number Diff line number Diff line change
Expand Up @@ -7342,9 +7342,18 @@ protected function process_reveal_identities() {
/**
* Save grading options.
*
* @deprecated since Moodle 4.5
* @todo Final deprecation in Moodle 6.0. See MDL-82876.
* @return void
*/
#[\core\attribute\deprecated(
'null',
since: '4.5',
reason: 'It is no longer used.',
mdl: 'MDL-82681',
)]
protected function process_save_grading_options() {
\core\deprecation::emit_deprecation_if_present([self::class, __FUNCTION__]);
}

/**
Expand Down

0 comments on commit 2c2e998

Please sign in to comment.