summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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)) {