summaryrefslogtreecommitdiffstats
path: root/lib/group
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-07-10 02:01:34 +0200
committerRobin Appelman <icewind@owncloud.com>2013-07-10 02:01:34 +0200
commit4de5e292e545e3d16b5e7aef63a21b4cd9d3ad5a (patch)
treea3364ca7243262dbd5f8321dfc5f74ebe32da88c /lib/group
parent2d9be541eacf2dbde43a57ee14e2a0eba9597a47 (diff)
downloadnextcloud-server-4de5e292e545e3d16b5e7aef63a21b4cd9d3ad5a.tar.gz
nextcloud-server-4de5e292e545e3d16b5e7aef63a21b4cd9d3ad5a.zip
search parameter is not optional
Diffstat (limited to 'lib/group')
-rw-r--r--lib/group/group.php4
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)) {