new type API

This commit is contained in:
Roland Gruber 2017-03-21 18:47:05 +01:00
parent 2ce3618ca9
commit 6022dee5a0
4 changed files with 18 additions and 15 deletions

View file

@ -268,7 +268,8 @@ class ConfiguredType {
if ($this->additionalLdapFilter !== null) {
return $this->additionalLdapFilter;
}
$this->additionalLdapFilter = $this->typeManager->getConfig()->get_Suffix($typeId);
$typeSettings = $this->typeManager->getConfig()->get_typeSettings();
$this->additionalLdapFilter = isset($typeSettings['filter_' . $this->id]) ? $typeSettings['filter_' . $this->id] : '';
return $this->additionalLdapFilter;
}