Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/13/2016 05:35:55 AM (9 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/core/nav/bpCoreMaybeHookNewSubnavScreenFunction.php

    r10745 r11091  
    149149        $this->set_current_user( $u );
    150150
    151         $group = groups_get_group( array(
    152             'group_id' => $g,
    153         ) );
     151        $group = groups_get_group( $g );
    154152
    155153        $this->go_to( bp_get_group_permalink( $group ) );
     
    175173        $this->set_current_user( $u );
    176174
    177         $group = groups_get_group( array(
    178             'group_id' => $g,
    179         ) );
     175        $group = groups_get_group( $g );
    180176
    181177        $this->go_to( bp_get_group_permalink( $group ) );
Note: See TracChangeset for help on using the changeset viewer.