diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-07-10 02:01:34 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-07-10 02:01:34 +0200 |
commit | 4de5e292e545e3d16b5e7aef63a21b4cd9d3ad5a (patch) | |
tree | a3364ca7243262dbd5f8321dfc5f74ebe32da88c | |
parent | 2d9be541eacf2dbde43a57ee14e2a0eba9597a47 (diff) | |
download | nextcloud-server-4de5e292e545e3d16b5e7aef63a21b4cd9d3ad5a.tar.gz nextcloud-server-4de5e292e545e3d16b5e7aef63a21b4cd9d3ad5a.zip |
search parameter is not optional
-rw-r--r-- | lib/group/group.php | 4 |
1 files changed, 2 insertions, 2 deletions
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)) { |