]> source.dussan.org Git - nextcloud-server.git/commitdiff
make search parameter optional, which is already the case in the medthod it is passed to
authorArthur Schiwon <blizzz@owncloud.com>
Tue, 13 May 2014 14:49:25 +0000 (16:49 +0200)
committerArthur Schiwon <blizzz@owncloud.com>
Mon, 2 Jun 2014 10:53:59 +0000 (12:53 +0200)
lib/private/group/group.php

index 3e245ab6bbe8062c208563851921385666a4583d..e0a359248547c7ac2589e976b4e4108870bba5cb 100644 (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)) {