summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2020-03-19 19:42:46 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2020-03-19 19:42:46 +0100
commit77c63e3b243f4119ee7e100ba4df4f466c419870 (patch)
tree823428200e69e3d37c5bc0721bc8c1ba1af5caa2 /apps
parent25ce3c434b66195bfb0b347de6125d0fa1538898 (diff)
downloadnextcloud-server-77c63e3b243f4119ee7e100ba4df4f466c419870.tar.gz
nextcloud-server-77c63e3b243f4119ee7e100ba4df4f466c419870.zip
fixes auto-detecting UUID attributes
the continue (and later the early return) avoided proper looping over the attribute candidates. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
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']);