Skip to:
Content

BuddyPress.org

Ticket #2734: 2734.002.patch

File 2734.002.patch, 585 bytes (added by r-a-y, 14 years ago)

Actually, the action can be removed as it's already covered in the groups_join_group() function

  • buddypress/bp-groups.php

     
    13741374function groups_update_last_activity( $group_id ) {
    13751375        groups_update_groupmeta( $group_id, 'last_activity', gmdate( "Y-m-d H:i:s" ) );
    13761376}
    1377 add_action( 'groups_joined_group', 'groups_update_last_activity' );
    13781377add_action( 'groups_leave_group', 'groups_update_last_activity' );
    13791378add_action( 'groups_created_group', 'groups_update_last_activity' );
    13801379add_action( 'groups_new_forum_topic', 'groups_update_last_activity' );