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>
This commit is contained in:
parent
d325d23593
commit
17bc99743b
1 changed files with 0 additions and 1 deletions
|
@ -129,7 +129,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.
|
//usually, LDAP attributes are said to be case insensitive. But there are exceptions of course.
|
||||||
$members = $this->_groupMembers($groupDN);
|
$members = $this->_groupMembers($groupDN);
|
||||||
$members = array_keys($members); // uids are returned as keys
|
|
||||||
if(!is_array($members) || count($members) === 0) {
|
if(!is_array($members) || count($members) === 0) {
|
||||||
$this->access->connection->writeToCache($cacheKey, false);
|
$this->access->connection->writeToCache($cacheKey, false);
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue