Changeset 1290 for trunk/bp-groups.php
- Timestamp:
- 03/31/2009 02:14:38 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/bp-groups.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups.php
r1273 r1290 969 969 if ( function_exists('bp_activity_record') ) { 970 970 extract($args); 971 971 972 if ( !$group_obj ) { 973 if ( !$group_obj = wp_cache_get( 'groups_group_nouserdata_' . $item_id, 'bp' ) ) { 974 $group_obj = new BP_Groups_Group( $group_obj->id, false, false ); 975 wp_cache_set( 'groups_group_nouserdata_' . $item_id, $group_obj, 'bp' ); 976 } 977 } 978 972 979 if ( 'public' == $group_obj->status ) 973 980 bp_activity_record( $item_id, $component_name, $component_action, $is_private, $secondary_item_id, $user_id, $secondary_user_id );
Note: See TracChangeset
for help on using the changeset viewer.