make search parameter optional, which is already the case in the medthod it is passed to
This commit is contained in:
parent
28a012410a
commit
2d83c68f05
|
@ -186,7 +186,7 @@ class Group {
|
||||||
* @param string $search
|
* @param string $search
|
||||||
* @return int|bool
|
* @return int|bool
|
||||||
*/
|
*/
|
||||||
public function count($search) {
|
public function count($search = '') {
|
||||||
$users = false;
|
$users = false;
|
||||||
foreach ($this->backends as $backend) {
|
foreach ($this->backends as $backend) {
|
||||||
if($backend->implementsActions(OC_GROUP_BACKEND_COUNT_USERS)) {
|
if($backend->implementsActions(OC_GROUP_BACKEND_COUNT_USERS)) {
|
||||||
|
|
Loading…
Reference in New Issue