mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
Merge branch 'MDL-69124' of https://github.com/paulholden/moodle
This commit is contained in:
commit
869cfac1cc
@ -7,6 +7,7 @@ information provided here is intended especially for developers.
|
||||
* 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
|
||||
* The method `make_categories_options`, deprecated since 3.10, has been removed
|
||||
|
||||
=== 4.1 ===
|
||||
* The function course_modchooser() has been finally deprecated and can not be used anymore. Please use
|
||||
|
@ -3209,19 +3209,11 @@ function plagiarism_get_form_elements_module() {
|
||||
|
||||
|
||||
/**
|
||||
* Returns the list of full course categories to be used in html_writer::select()
|
||||
*
|
||||
* Calls {@see core_course_category::make_categories_list()} to build the list.
|
||||
*
|
||||
* @deprecated since Moodle 3.10
|
||||
* @todo This will be finally removed for Moodle 4.2 as part of MDL-69124.
|
||||
* @return array array mapping course category id to the display name
|
||||
*/
|
||||
function make_categories_options() {
|
||||
$deprecatedtext = __FUNCTION__ . '() is deprecated. Please use \core_course_category::make_categories_list() instead.';
|
||||
debugging($deprecatedtext, DEBUG_DEVELOPER);
|
||||
|
||||
return core_course_category::make_categories_list('', 0, ' / ');
|
||||
throw new coding_exception(__FUNCTION__ . '() has been removed. ' .
|
||||
'Please use \core_course_category::make_categories_list() instead.');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user