summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2020-03-20 11:06:37 +0100
committerGitHub <noreply@github.com>2020-03-20 11:06:37 +0100
commit5817047c3e52a051be99fd3009cfe66a669b9afb (patch)
tree481f34918e9151879530831cb02e7ef1550ed42a /apps
parent53a300dd8c5d02513224e5e75962b25a6524b16f (diff)
parent77c63e3b243f4119ee7e100ba4df4f466c419870 (diff)
downloadnextcloud-server-5817047c3e52a051be99fd3009cfe66a669b9afb.tar.gz
nextcloud-server-5817047c3e52a051be99fd3009cfe66a669b9afb.zip
Merge pull request #20039 from nextcloud/fix/19549/fix-uuid-attr-detection
fixes auto-detecting UUID attributes
Diffstat (limited to 'apps')
-rw-r--r--apps/user_ldap/lib/Access.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/user_ldap/lib/Access.php b/apps/user_ldap/lib/Access.php
index de02cbdf869..a16e8f04cb2 100644
--- a/apps/user_ldap/lib/Access.php
+++ b/apps/user_ldap/lib/Access.php
@@ -1734,7 +1734,6 @@ class Access extends LDAPUtility {
$this->connection->$uuidAttr = $attribute;
return true;
}
- continue;
}
$value = $this->readAttribute($dn, $attribute);
@@ -1750,9 +1749,6 @@ class Access extends LDAPUtility {
$this->connection->$uuidAttr = $attribute;
$this->connection->writeToCache($uuidAttr, $attribute);
return true;
- } elseif ($value === false) {
- // record not available
- return false;
}
}
\OC::$server->getLogger()->debug('Could not autodetect the UUID attribute', ['app' => 'user_ldap']);