Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/13/2016 05:35:55 AM (3 years ago)
Author:
boonebgorges
Message:

Use new groups_get_group() syntax throughout BP.

See #5451.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-screens.php

    r10880 r11091  
    237237        // Check to see if the group is not public, if so, check the
    238238        // user has access to see this activity.
    239         if ( $group = groups_get_group( array( 'group_id' => $activity->item_id ) ) ) {
     239        if ( $group = groups_get_group( $activity->item_id ) ) {
    240240
    241241            // Group is not public.
Note: See TracChangeset for help on using the changeset viewer.