Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/01/2011 08:45:38 PM (13 years ago)
Author:
boonebgorges
Message:

Adds WP cache support to groups_get_group() and switches internal instantiations of BP_Groups_Group out for calls to groups_get_group() where possible. Fixes #3770

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-forums.php

    r5302 r5431  
    3434function groups_update_group_forum( $group_id ) {
    3535
    36     $group = new BP_Groups_Group( $group_id );
     36    $group = groups_get_group( array( 'group_id' => $group_id ) );
    3737
    3838    /**
Note: See TracChangeset for help on using the changeset viewer.