Fix some regressions caused by refactor of LDAP plugin

This commit is contained in:
Craig Andrews
2010-03-23 21:50:31 -04:00
parent d9dcdf5b49
commit 6b538cd9b3
2 changed files with 18 additions and 8 deletions

View File

@@ -118,7 +118,7 @@ class LdapAuthenticationPlugin extends AuthenticationPlugin
function suggestNicknameForUsername($username)
{
$entry = $this->ldap_get_user($username, $this->attributes);
$entry = $this->ldapCommon->get_user($username, $this->attributes);
if(!$entry){
//this really shouldn't happen
$nickname = $username;