Merge pull request #25253 from nextcloud/fix/noid/log-noise

silence log message
This commit is contained in:
Morris Jobke 2021-01-21 22:05:24 +01:00 committed by GitHub
commit 480b37050b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -543,7 +543,7 @@ class Access extends LDAPUtility {
if (is_null($ldapName)) {
$ldapName = $this->readAttribute($fdn, $nameAttribute, $filter);
if (!isset($ldapName[0]) && empty($ldapName[0])) {
\OCP\Util::writeLog('user_ldap', 'No or empty name for ' . $fdn . ' with filter ' . $filter . '.', ILogger::INFO);
\OCP\Util::writeLog('user_ldap', 'No or empty name for ' . $fdn . ' with filter ' . $filter . '.', ILogger::DEBUG);
return false;
}
$ldapName = $ldapName[0];