Skip to:
Content

BuddyPress.org


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

Use new groups_get_group() syntax throughout BP.

See #5451.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/groups/template/bpGroupStatusMessage.php

    r9819 r11091  
    121121        $this->set_current_user( $u );
    122122
    123         $group = groups_get_group( array(
    124             'group_id' => $g,
    125             'populate_extras' => true,
    126         ) );
     123        $group = groups_get_group( $g );
    127124
    128125        $found = get_echo( 'bp_group_status_message', array( $group ) );
     
    143140        // Fake the current group.
    144141        $GLOBALS['groups_template'] = new stdClass;
    145         $GLOBALS['groups_template']->group = groups_get_group( array(
    146             'group_id' => $groups[0],
    147             'populate_extras' => true,
    148         ) );
     142        $GLOBALS['groups_template']->group = groups_get_group( $groups[0] );
    149143
    150144        groups_send_membership_request( $u, $groups[1] );
Note: See TracChangeset for help on using the changeset viewer.