diff --git a/apps/user_ldap/lib/Access.php b/apps/user_ldap/lib/Access.php index d58106707e..671f74825b 100644 --- a/apps/user_ldap/lib/Access.php +++ b/apps/user_ldap/lib/Access.php @@ -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; } }