MDL-40600 core_courseformat: duplicate a named section with copy

When a named section is duplicated, the name must have a (copy) particle
to make visible what section is the original and what is the copy.
This commit is contained in:
Ferran Recio 2023-02-01 11:03:58 +01:00 committed by Alex Morris
parent f1c4cc73df
commit 01d6ba02a3
No known key found for this signature in database
GPG key ID: 0501031386C92557
4 changed files with 18 additions and 2 deletions

View file

@ -4,6 +4,9 @@ information provided here is intended especially for developers.
=== 4.2 ===
* course/mod.php now accepts parameter beforemod for adding course modules. It contains the course module id
of an existing course module. The new module is inserted before this module.
* The function duplicate_module() now has two new optional parameters:
- $sectionid to specify section the duplicated course module is placed in
- $changename to disable changing the name of the course module using the 'duplicatedmodule' lang string
=== 4.1 ===
* The function course_modchooser() has been finally deprecated and can not be used anymore. Please use