mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 16:04:25 +02:00
MDL-57678 enrol_ldap: Replace usage of make_categories_options()
Replace with core_course_category::make_categories_list() instead.
This commit is contained in:
parent
2c45ad6f18
commit
c5438f982c
@ -200,7 +200,7 @@ class enrol_ldap_admin_setting_category extends admin_setting_configselect {
|
||||
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