mirror of
https://github.com/moodle/moodle.git
synced 2025-04-16 05:54:19 +02:00
MDL-57678 admin: Replace usage of make_categories_options()
Replace with core_course_category::make_categories_list() instead.
This commit is contained in:
parent
c5438f982c
commit
4c44813e9e
@ -4980,7 +4980,7 @@ class admin_settings_coursecat_select extends admin_setting_configselect {
|
||||
if (is_array($this->choices)) {
|
||||
return true;
|
||||
}
|
||||
$this->choices = make_categories_options();
|
||||
$this->choices = core_course_category::make_categories_list('', 0, ' / ');
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user