comment was wrong, block is needed nevertheless

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2020-06-24 17:51:11 +02:00 committed by backportbot[bot]
parent d4343de3eb
commit 2a3ebe4353
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); $this->search($filter, $base, $attr, $limit, $reOffset, true);
if (!$this->hasMoreResults()) { if (!$this->hasMoreResults()) {
// when the cookie is reset with != 0 offset, there are no further // when the cookie is reset with != 0 offset, there are no further
// results, so stop. This if block is not necessary with new API // results, so stop.
// and can be removed with dropping PHP 7.2
return false; return false;
} }
} }