diff --git a/.upgradenotes/MDL-82681-2024091902542827.yml b/.upgradenotes/MDL-82681-2024091902542827.yml new file mode 100644 index 00000000000..a2d8f58d672 --- /dev/null +++ b/.upgradenotes/MDL-82681-2024091902542827.yml @@ -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 diff --git a/mod/assign/locallib.php b/mod/assign/locallib.php index a7cd878c56b..c791a8a97ba 100644 --- a/mod/assign/locallib.php +++ b/mod/assign/locallib.php @@ -7342,9 +7342,18 @@ class assign { /** * 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__]); } /**