mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 08:55:15 +02:00
MDL-8029 removed obsoleted optional_variable() from ldap config
This commit is contained in:
parent
0e5215db91
commit
b490cf71a0
@ -73,9 +73,15 @@ foreach($roles as $role) {
|
||||
}
|
||||
|
||||
// autocreate
|
||||
optional_variable($frm->enrol_ldap_autocreate, false);
|
||||
optional_variable($frm->enrol_ldap_category, 1);
|
||||
optional_variable($frm->enrol_ldap_template, '');
|
||||
if (!isset($frm->enrol_ldap_autocreate)) {
|
||||
$frm->enrol_ldap_autocreate = false;
|
||||
}
|
||||
if (!isset($frm->enrol_ldap_category)) {
|
||||
$frm->enrol_ldap_category = 1;
|
||||
}
|
||||
if (!isset($frm->enrol_ldap_template)) {
|
||||
$frm->enrol_ldap_template = '';
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user