aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/lib/Access.php
diff options
context:
space:
mode:
authorJörn Friedrich Dreyer <jfd@butonic.de>2016-08-17 09:46:54 +0200
committerLukas Reschke <lukas@statuscode.ch>2016-08-29 14:34:37 +0200
commit4d31caa6f842d427205b96f6823044b73e08a108 (patch)
treea38d11f4b4e8c8b98ddb40cdfb0470c4e6be5f0c /apps/user_ldap/lib/Access.php
parent3647fbe7cd86e743b059889d69b03fcf8207780f (diff)
downloadnextcloud-server-4d31caa6f842d427205b96f6823044b73e08a108.tar.gz
nextcloud-server-4d31caa6f842d427205b96f6823044b73e08a108.zip
fix a few minor code smells
Diffstat (limited to 'apps/user_ldap/lib/Access.php')
-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 299ad581644..12d71b1528a 100644
--- a/apps/user_ldap/lib/Access.php
+++ b/apps/user_ldap/lib/Access.php
@@ -869,7 +869,7 @@ class Access extends LDAPUtility implements IUserTools {
//browsing through prior pages to get the cookie for the new one
if($skipHandling) {
- return;
+ return false;
}
// if count is bigger, then the server does not support
// paged search. Instead, he did a normal search. We set a
@@ -983,7 +983,6 @@ class Access extends LDAPUtility implements IUserTools {
$findings = array();
$savedoffset = $offset;
do {
- $continue = false;
$search = $this->executeSearch($filter, $base, $attr, $limit, $offset);
if($search === false) {
return array();