diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-02-13 21:48:24 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-02-13 21:48:24 +0100 |
commit | 954da26e26a6f0011efa1432e9de4264e5f5e033 (patch) | |
tree | 4ec1aecaaf672bd8fc362f59261abbf1a1ea7bcf /lib/private/Collaboration | |
parent | 3fc6d6234e39914d8e6e7d4b9ffe0b5420d3aa2d (diff) | |
download | nextcloud-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')
-rw-r--r-- | lib/private/Collaboration/Collaborators/GroupPlugin.php | 2 | ||||
-rw-r--r-- | lib/private/Collaboration/Collaborators/UserPlugin.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Collaboration/Collaborators/GroupPlugin.php b/lib/private/Collaboration/Collaborators/GroupPlugin.php index b147d2d7b58..7eee042076e 100644 --- a/lib/private/Collaboration/Collaborators/GroupPlugin.php +++ b/lib/private/Collaboration/Collaborators/GroupPlugin.php @@ -59,7 +59,7 @@ class GroupPlugin implements ISearchPlugin { $groups = $this->groupManager->search($search, $limit, $offset); $groupIds = array_map(function (IGroup $group) { return $group->getGID(); }, $groups); - if (!$this->shareeEnumeration || sizeof($groups) < $limit) { + if (!$this->shareeEnumeration || count($groups) < $limit) { $hasMoreResults = true; } 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; } |