Ticket #7870: 7870.01.patch
| File 7870.01.patch, 643 bytes (added by , 8 years ago) |
|---|
-
src/bp-groups/bp-groups-functions.php
585 585 $group = $bp->groups->current_group; 586 586 587 587 // Record this in activity streams. 588 groups_record_activity( array( 589 'type' => 'joined_group', 590 'item_id' => $group_id, 591 'user_id' => $user_id, 592 ) ); 588 if ( bp_is_active( 'activity' ) ) { 589 groups_record_activity( array( 590 'type' => 'joined_group', 591 'item_id' => $group_id, 592 'user_id' => $user_id, 593 ) ); 594 } 593 595 594 596 /** 595 597 * Fires after a user joins a group.