LdapUserGroupBackend: Adjust usage of LdapCapabilities::hasAdOid()

Usage search ftw..
This commit is contained in:
Johannes Meyer 2015-07-29 16:26:39 +02:00
parent a159e8195f
commit fb7666e6bd
1 changed files with 1 additions and 1 deletions

View File

@ -437,7 +437,7 @@ class LdapUserGroupBackend /*extends LdapRepository*/ implements UserGroupBacken
throw new ProgrammingError('It is required to set a attribute name where to find a group\'s name first'); throw new ProgrammingError('It is required to set a attribute name where to find a group\'s name first');
} }
if ($this->ds->getCapabilities()->hasAdOid()) { if ($this->ds->getCapabilities()->isActiveDirectory()) {
$createdAtAttribute = 'whenCreated'; $createdAtAttribute = 'whenCreated';
$lastModifiedAttribute = 'whenChanged'; $lastModifiedAttribute = 'whenChanged';
} else { } else {