diff --git a/.upgradenotes/MDL-81872-2024052707330838.yml b/.upgradenotes/MDL-81872-2024052707330838.yml index 0b3c43c35f1..024f6210c7b 100644 --- a/.upgradenotes/MDL-81872-2024052707330838.yml +++ b/.upgradenotes/MDL-81872-2024052707330838.yml @@ -2,7 +2,7 @@ issueNumber: MDL-81872 notes: core_course: - message: >+ - The reset course page has been improved. The "Delete" or "Remove" wording have been removed from all the options to make it easier to focus on the data to be removed and avoid inconsistencies and duplicated information. + The reset course page has been improved. The words "Delete" and "Remove" have been removed from all the options to make it easier to focus on the data to be removed and avoid inconsistencies and duplicated information. Third party plugins implementing reset methods might need to: - Add static element in the _reset_course_form_definition method before all the options with the Delete string: diff --git a/course/reset.php b/course/reset.php index 36753c899b0..3a9e5b0a99e 100644 --- a/course/reset.php +++ b/course/reset.php @@ -84,9 +84,9 @@ if ($mform->is_cancelled()) { if ($item['error'] === false) { $line[] = get_string('statusdone'); } else { - $line[] = '