remove not needet logging

This commit is contained in:
cm-schl 2022-11-25 12:31:27 +01:00
parent 73faa02795
commit 7e3b81add9

View file

@ -350,8 +350,6 @@ $this->logger->Write("test $sUsername@$sDomain", \LOG_NOTICE, self::LOG_KEY);
private function LdapGetAttribute(array $entry, string $attribute, bool $single = true, bool $required = false)
{
//INFO if $single=false a array is returned. needet for identities, but not for additional mail accounts / usernames
//TODO: remove line when not needed anymore
$this->logger->Write("Attribute=$attribute, DN={$entry['dn']}", \LOG_NOTICE, self::LOG_KEY);
if (!isset($entry[$attribute])) {
if ($required)