Changeset 4137 for trunk/bp-groups/bp-groups-functions.php
- Timestamp:
- 03/12/2011 09:25:51 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/bp-groups/bp-groups-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-functions.php
r3955 r4137 256 256 * joining/leaving the group in quick succession. 257 257 */ 258 if ( function_exists( 'bp_activity_delete' ) && gmmktime() <= strtotime( '+5 minutes', (int)strtotime( $membership->date_modified ) ) )258 if ( bp_is_active( 'activity' ) && gmmktime() <= strtotime( '+5 minutes', (int)strtotime( $membership->date_modified ) ) ) 259 259 bp_activity_delete( array( 'component' => $bp->groups->id, 'type' => 'joined_group', 'user_id' => $user_id, 'item_id' => $group_id ) ); 260 260
Note: See TracChangeset
for help on using the changeset viewer.