fixed a minor bug in closing ldap

This commit is contained in:
hyung-hwan 2010-07-28 06:54:46 +00:00
parent 0db4dd70b3
commit 8b75ca4904
3 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ doc_DATA = copyright changelog
debdir=/DEBIAN
deb_DATA = control conffiles
deb_SCRIPTS = postinst postrm
deb_SCRIPTS = postinst postrm
install-data-hook:
gzip -9 -f $(DESTDIR)$(DOCDIR)/changelog

View File

@ -173,7 +173,7 @@ EXTRA_DIST = conffiles copyright changelog
doc_DATA = copyright changelog
debdir = /DEBIAN
deb_DATA = control conffiles
deb_SCRIPTS = postinst postrm
deb_SCRIPTS = postinst postrm
all: all-am
.SUFFIXES:

View File

@ -52,7 +52,7 @@ class LdapLoginModel extends LoginModel
}
@ldap_unbind ($bind);
//@ldap_unbind ($ldap);
@ldap_close ($ldap);
return parent::authenticate ($userid, $password, $email);
@ -100,7 +100,7 @@ class LdapLoginModel extends LoginModel
}
@ldap_unbind ($bind);
//@ldap_unbind ($ldap);
@ldap_close ($ldap);
$user['id'] = $userid;