Skip to content
Snippets Groups Projects
Unverified Commit f292f980 authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

when paged results are turned off, all (max possible) users are returned


thus hasMoreResult should return false

Signed-off-by: default avatarArthur Schiwon <blizzz@arthur-schiwon.de>
parent 2a24f45b
No related branches found
No related tags found
No related merge requests found
......@@ -177,7 +177,7 @@ class Sync extends TimedJob {
);
if($connection->ldapPagingSize === 0) {
return true;
return false;
}
return count($results) >= $connection->ldapPagingSize;
}
......
......@@ -158,7 +158,8 @@ class SyncTest extends TestCase {
return [
[ 3, 3, true ],
[ 3, 5, true ],
[ 3, 2, false]
[ 3, 2, false],
[ 0, 4, false]
];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment