make search parameter optional, which is already the case in the medthod it is passed to

This commit is contained in:
Arthur Schiwon 2014-05-13 16:49:25 +02:00
parent 28a012410a
commit 2d83c68f05
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {