From: Arthur Schiwon Date: Tue, 13 May 2014 14:49:25 +0000 (+0200) Subject: make search parameter optional, which is already the case in the medthod it is passed to X-Git-Tag: v7.0.0alpha2~144^2~4 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2d83c68f05c1b3ae2e7ddd059c1d17e5408b9050;p=nextcloud-server.git make search parameter optional, which is already the case in the medthod it is passed to --- diff --git a/lib/private/group/group.php b/lib/private/group/group.php index 3e245ab6bbe..e0a35924854 100644 --- a/lib/private/group/group.php +++ b/lib/private/group/group.php @@ -186,7 +186,7 @@ class Group { * @param string $search * @return int|bool */ - public function count($search) { + public function count($search = '') { $users = false; foreach ($this->backends as $backend) { if($backend->implementsActions(OC_GROUP_BACKEND_COUNT_USERS)) {