Ticket #6020: 6020.2.diff
File 6020.2.diff, 599 bytes (added by , 10 years ago) |
---|
-
src/bp-groups/bp-groups-actions.php
387 387 bp_core_add_message( __( 'There was an error leaving the group.', 'buddypress' ), 'error' ); 388 388 } else { 389 389 bp_core_add_message( __( 'You successfully left the group.', 'buddypress' ) ); 390 do_action( 'groups_leave_group', bp_get_current_group_id(), bp_loggedin_user_id() ); 390 391 } 391 392 392 393 $redirect = bp_get_group_permalink( groups_get_current_group() );