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/tests/phpunit/testcases/activity/template.php

    r10545 r11091  
    10321032        ) );
    10331033
    1034         $bp->groups->current_group = groups_get_group( array(
    1035             'group_id'        => $g,
    1036             'populate_extras' => true,
    1037         ) );
     1034        $bp->groups->current_group = groups_get_group( $g );
    10381035
    10391036        // On group's home the scope is set to 'home'
     
    10891086        ) );
    10901087
    1091         $bp->groups->current_group = groups_get_group( array(
    1092             'group_id'        => $g,
    1093             'populate_extras' => true,
    1094         ) );
     1088        $bp->groups->current_group = groups_get_group( $g );
    10951089
    10961090        // On group's home the scope is set to 'home'
Note: See TracChangeset for help on using the changeset viewer.