mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Fixed some typos
This commit is contained in:
parent
38620c460b
commit
44996d00f9
@ -50,7 +50,6 @@ function auth_user_login ($username, $password) {
|
||||
$ldap_login = @ldap_bind($ldap_connection, $ldap_user_dn, $password);
|
||||
ldap_close($ldap_connection);
|
||||
if ($ldap_login) {
|
||||
ldap_close($ldap_connection);
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
@ -67,7 +66,7 @@ function auth_get_userinfo($username){
|
||||
global $CFG;
|
||||
|
||||
$config = (array)$CFG;
|
||||
$moodleattributes = auth_ldap_attributes();
|
||||
$attrmap = auth_ldap_attributes();
|
||||
|
||||
$ldap_connection=auth_ldap_connect();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user