Skip to content
Browse files

MDL-30502 remove bogus role name param

Credit goes to Michael J Litzkow.
  • Loading branch information...
1 parent 8605514 commit 835564dbfc37e12f4a5a73f672e03d6b220f39aa @skodak skodak committed with Sam Hemelryk Dec 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 enrol/ldap/settings.php
View
2 enrol/ldap/settings.php
@@ -56,7 +56,7 @@
//--- role mapping settings ---
$settings->add(new admin_setting_heading('enrol_ldap_roles', get_string('roles', 'enrol_ldap'), ''));
if (!during_initial_install()) {
- $settings->add(new admin_setting_ldap_rolemapping('enrol_ldap/role_mapping', get_string ('role_mapping_key', 'enrol_ldap', $role->name), get_string ('role_mapping', 'enrol_ldap'), ''));
+ $settings->add(new admin_setting_ldap_rolemapping('enrol_ldap/role_mapping', get_string ('role_mapping_key', 'enrol_ldap'), get_string ('role_mapping', 'enrol_ldap'), ''));
}
$options = $yesno;
$settings->add(new admin_setting_configselect('enrol_ldap/course_search_sub', get_string('course_search_sub_key', 'enrol_ldap'), get_string('course_search_sub', 'enrol_ldap'), 0, $options));

0 comments on commit 835564d

Please sign in to comment.
Something went wrong with that request. Please try again.