summaryrefslogtreecommitdiffstats
path: root/lib/private/Collaboration/Collaborators/UserPlugin.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-02-13 21:48:24 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-02-13 21:48:24 +0100
commit954da26e26a6f0011efa1432e9de4264e5f5e033 (patch)
tree4ec1aecaaf672bd8fc362f59261abbf1a1ea7bcf /lib/private/Collaboration/Collaborators/UserPlugin.php
parent3fc6d6234e39914d8e6e7d4b9ffe0b5420d3aa2d (diff)
downloadnextcloud-server-954da26e26a6f0011efa1432e9de4264e5f5e033.tar.gz
nextcloud-server-954da26e26a6f0011efa1432e9de4264e5f5e033.zip
Use non aliased method instead
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/Collaboration/Collaborators/UserPlugin.php')
-rw-r--r--lib/private/Collaboration/Collaborators/UserPlugin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Collaboration/Collaborators/UserPlugin.php b/lib/private/Collaboration/Collaborators/UserPlugin.php
index d2639249d56..62f76876031 100644
--- a/lib/private/Collaboration/Collaborators/UserPlugin.php
+++ b/lib/private/Collaboration/Collaborators/UserPlugin.php
@@ -85,7 +85,7 @@ class UserPlugin implements ISearchPlugin {
$this->takeOutCurrentUser($users);
- if (!$this->shareeEnumeration || sizeof($users) < $limit) {
+ if (!$this->shareeEnumeration || count($users) < $limit) {
$hasMoreResults = true;
}