MDL-57678 enrol_ldap: Replace usage of make_categories_options()

Replace with core_course_category::make_categories_list() instead.
This commit is contained in:
Jun Pataleta
2020-07-15 18:26:03 +08:00
parent 2c45ad6f18
commit c5438f982c
+1 -1
View File
@@ -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;
}
}