Skip to:
Content

BuddyPress.org

Ticket #4753: 5f068f72e5a08920cfcc202e569737f43532c8ef.diff

File 5f068f72e5a08920cfcc202e569737f43532c8ef.diff, 1.5 KB (added by chrisclayton, 12 years ago)
Line 
1From: <Saved by WebKit>
2Subject:
3Date: Mon, 6 Jan 2013 11:59:19 +1100
4MIME-Version: 1.0
5Content-Type: multipart/related;
6        type="text/html";
7        boundary="----=_NextPart_000_4990_E5F31A3D.8B801BE5"
8
9------=_NextPart_000_4990_E5F31A3D.8B801BE5
10Content-Type: text/html
11Content-Transfer-Encoding: quoted-printable
12Content-Location: https://github.com/ChrisClayton/buddypress/commit/5f068f72e5a08920cfcc202e569737f43532c8ef.diff
13
14<html><head><meta charset=3D"UTF-8"></head><body><pre style=3D"word-wrap: b=
15reak-word; white-space: pre-wrap;">diff --git a/bp-groups/bp-groups-functio=
16ns.php b/bp-groups/bp-groups-functions.php
17index 9b8422e..a50991e 100644
18--- a/bp-groups/bp-groups-functions.php
19+++ b/bp-groups/bp-groups-functions.php
20@@ -379,8 +379,8 @@ function groups_get_group_mods( $group_id ) {
21        return BP_Groups_Member::get_group_moderator_ids( $group_id );
22 }
23=20
24-function groups_get_group_members( $group_id, $limit =3D false, $page =3D =
25false ) {
26-       return BP_Groups_Member::get_all_for_group( $group_id, $limit, $page );
27+function groups_get_group_members( $group_id, $limit =3D false, $page =3D =
28false, $exclude_admins_mods =3D true, $exclude_banned =3D true, $exclude =
29=3D false ) {
30+       return BP_Groups_Member::get_all_for_group( $group_id, $limit, $page, $ex=
31clude_admins_mods, $exclude_banned, $exclude );
32 }
33=20
34 function groups_get_total_member_count( $group_id ) {
35</pre></body></html>
36------=_NextPart_000_4990_E5F31A3D.8B801BE5--