diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2014-05-13 16:49:25 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2014-06-02 12:53:59 +0200 |
commit | 2d83c68f05c1b3ae2e7ddd059c1d17e5408b9050 (patch) | |
tree | e3e3ec58e3a6941654f5ba5e2ffbc60a9f04418c /lib/private/group | |
parent | 28a012410aa632038769124df658cd9e7bcd9348 (diff) | |
download | nextcloud-server-2d83c68f05c1b3ae2e7ddd059c1d17e5408b9050.tar.gz nextcloud-server-2d83c68f05c1b3ae2e7ddd059c1d17e5408b9050.zip |
make search parameter optional, which is already the case in the medthod it is passed to
Diffstat (limited to 'lib/private/group')
-rw-r--r-- | lib/private/group/group.php | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |