Skip to:
Content

BuddyPress.org

Changeset 3328


Ignore:
Timestamp:
10/28/2010 09:52:35 PM (15 years ago)
Author:
djpaul
Message:

Remove obsolete group caching code from 1.1.3ish era. Fixes #2117

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups.php

    r3319 r3328  
    25862586
    25872587function groups_clear_group_object_cache( $group_id ) {
    2588     wp_cache_delete( 'groups_group_nouserdata_' . $group_id, 'bp' );
    25892588    wp_cache_delete( 'groups_group_' . $group_id, 'bp' );
    25902589    wp_cache_delete( 'newest_groups', 'bp' );
  • trunk/bp-groups/bp-groups-templatetags.php

    r3300 r3328  
    123123        if ( $this->single_group )
    124124            $this->group = new BP_Groups_Group( $this->group->group_id, true );
    125         else {
    126             if ( $this->group )
    127                 wp_cache_set( 'groups_group_nouserdata_' . $group->group_id, $this->group, 'bp' );
    128         }
    129125
    130126        if ( 0 == $this->current_group ) // loop has just started
Note: See TracChangeset for help on using the changeset viewer.