aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2020-06-24 17:51:11 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2020-06-24 19:07:38 +0000
commit2a3ebe4353a43130b2dd1f5a188dda5d409a335e (patch)
tree8068bec05e82ca730b9668e4ac2e0c1abc2b0a67 /apps/user_ldap
parentd4343de3ebe9c71c2191990f01009ef82bfce93b (diff)
downloadnextcloud-server-2a3ebe4353a43130b2dd1f5a188dda5d409a335e.tar.gz
nextcloud-server-2a3ebe4353a43130b2dd1f5a188dda5d409a335e.zip
comment was wrong, block is needed nevertheless
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap')
-rw-r--r--apps/user_ldap/lib/Access.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/user_ldap/lib/Access.php b/apps/user_ldap/lib/Access.php
index d58106707ef..671f74825ba 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;
}
}