LdapUserGroupBackend: Adjust usage of LdapCapabilities::hasAdOid()
Usage search ftw..
This commit is contained in:
parent
a159e8195f
commit
fb7666e6bd
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue