From 4de5e292e545e3d16b5e7aef63a21b4cd9d3ad5a Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Wed, 10 Jul 2013 02:01:34 +0200 Subject: search parameter is not optional --- lib/group/group.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/group') diff --git a/lib/group/group.php b/lib/group/group.php index d8a6b6215b1..fa106dd68f0 100644 --- a/lib/group/group.php +++ b/lib/group/group.php @@ -162,7 +162,7 @@ class Group { * @param int $offset * @return \OC\User\User[] */ - public function searchUsers($search = '', $limit = null, $offset = null) { + public function searchUsers($search, $limit = null, $offset = null) { $users = array(); foreach ($this->backends as $backend) { $userIds = $backend->usersInGroup($this->id, $search, $limit, $offset); @@ -190,7 +190,7 @@ class Group { * @param int $offset * @return \OC\User\User[] */ - public function searchDisplayName($search = '', $limit = null, $offset = null) { + public function searchDisplayName($search, $limit = null, $offset = null) { $users = array(); foreach ($this->backends as $backend) { if ($backend->implementsActions(OC_GROUP_BACKEND_GET_DISPLAYNAME)) { -- cgit v1.2.3