Merge pull request #21571 from nextcloud/backport/21565/stable19

[stable19] comment was wrong, block is needed nevertheless
This commit is contained in:
blizzz 2020-06-24 22:41:25 +02:00 committed by GitHub
commit ca845138b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -2051,8 +2051,7 @@ class Access extends LDAPUtility {
$this->search($filter, $base, $attr, $limit, $reOffset, true);
if (!$this->hasMoreResults()) {
// when the cookie is reset with != 0 offset, there are no further
// results, so stop. This if block is not necessary with new API
// and can be removed with dropping PHP 7.2
// results, so stop.
return false;
}
}