Merge pull request #25263 from nextcloud/backport/25253/stable20
[stable20] silence log message
This commit is contained in:
commit
24a7772d6c
|
@ -546,7 +546,7 @@ class Access extends LDAPUtility {
|
||||||
if (is_null($ldapName)) {
|
if (is_null($ldapName)) {
|
||||||
$ldapName = $this->readAttribute($fdn, $nameAttribute, $filter);
|
$ldapName = $this->readAttribute($fdn, $nameAttribute, $filter);
|
||||||
if (!isset($ldapName[0]) && empty($ldapName[0])) {
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
$ldapName = $ldapName[0];
|
$ldapName = $ldapName[0];
|
||||||
|
|
Loading…
Reference in New Issue