Fixed some typos

This commit is contained in:
paca70 2003-02-25 10:31:59 +00:00
parent 38620c460b
commit 44996d00f9

View File

@ -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();