Conform to coding guidelines

This commit is contained in:
Matthias Jentsch 2015-09-22 14:53:29 +02:00
parent 30fa554ad9
commit b69311165c
1 changed files with 2 additions and 2 deletions

View File

@ -534,10 +534,10 @@ class LdapUserGroupBackend /*extends LdapRepository*/ implements UserGroupBacken
public function getMemberships(User $user)
{
if ($this->groupClass === 'posixGroup') {
# Posix group only uses simple user name
// Posix group only uses simple user name
$userDn = $user->getUsername();
} else {
# LDAP groups use the complete DN
// LDAP groups use the complete DN
if (($userDn = $user->getAdditional('ldap_dn')) === null) {
$userQuery = $this->ds
->select()