lib/private/Group/Group.php
/**
	 * returns the number of users matching the search string
	 *
	 * @param string $search
	 * @return int|bool
	 */
returns the number of users matching the search string
@param string $search
@return int|bool
returns the number of users matching the search string @param string $search @return int|bool
public function count($search = '') {
		$users = false;
		foreach ($this->backends as $backend) {
			if($backend->implementsActions(\OC\Group\Backend::COUNT_USERS)) {
				if($users === false) {
					$users = 0;
				}
				$users += $backend->countUsersInGroup($this->gid, $search);
			}
		}
		return $users;
	}
public function count ( $ search = '' ) { $ users = false ; foreach ( $ this -> backends as $ backend ) { if ( $ backend -> implementsActions ( \ OC \ Group \ Backend :: COUNT_USERS ) ) { if ( $ users === false ) { $ users = 0 ; } $ users += $ backend -> countUsersInGroup ( $ this -> gid , $ search ) ; } } return $ users ; }
returns the number of users matching the search string
 @param string $search
 @return int|bool
returns the number of users matching the search string @param string $search @return int|bool
//we could directly add to a bool variable, but this would //be ugly