summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2019-06-13 16:49:39 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-06-14 06:23:58 +0200
commit1d48c0313c3f52ca159136af318122449691b679 (patch)
tree8db6c86da0edfd0d59284723772173b76db53d1c /apps/user_ldap/lib
parent437b33ff63c5c9799bc9147499e5d8e71745c7ec (diff)
downloadnextcloud-server-1d48c0313c3f52ca159136af318122449691b679.tar.gz
nextcloud-server-1d48c0313c3f52ca159136af318122449691b679.zip
fix inGroup check, thus make integration tests succeed
there is not such strange return mode. Having invalid user ids caused this check to fail, and as side effect share limitation to groups to not work. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap/lib')
-rw-r--r--apps/user_ldap/lib/Group_LDAP.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Group_LDAP.php b/apps/user_ldap/lib/Group_LDAP.php
index ae2434056b1..5b25979b2d2 100644
--- a/apps/user_ldap/lib/Group_LDAP.php
+++ b/apps/user_ldap/lib/Group_LDAP.php
@@ -130,7 +130,6 @@ class Group_LDAP extends BackendUtility implements \OCP\GroupInterface, IGroupLD
//usually, LDAP attributes are said to be case insensitive. But there are exceptions of course.
$members = $this->_groupMembers($groupDN);
- $members = array_keys($members); // uids are returned as keys
if(!is_array($members) || count($members) === 0) {
$this->access->connection->writeToCache($cacheKey, false);
return false;