|
|
The config setting enrol_localcoursefield is not used by enrol/ldap except to be unset at enrol/ldap/enrol.php, lines 390-393, version 1.20.
Since enrol/database uses still uses this nomenclature, saving the enrol/ldap config blanks this required field for enrol/database and breaks database enrollment.
I think these lines should be removed:
390 if (!isset ($config->enrol_localcoursefield)) {
391 $config->enrol_localcoursefield = '';
392 }
393 set_config('enrol_localcoursefield', $config->enrol_localcoursefield);
|
|
Description
|
The config setting enrol_localcoursefield is not used by enrol/ldap except to be unset at enrol/ldap/enrol.php, lines 390-393, version 1.20.
Since enrol/database uses still uses this nomenclature, saving the enrol/ldap config blanks this required field for enrol/database and breaks database enrollment.
I think these lines should be removed:
390 if (!isset ($config->enrol_localcoursefield)) {
391 $config->enrol_localcoursefield = '';
392 }
393 set_config('enrol_localcoursefield', $config->enrol_localcoursefield); |
Show » |
|