Skip to:
Content

BuddyPress.org

Ticket #6164: 6164.patch

File 6164.patch, 476 bytes (added by jreeve, 5 years ago)

remove redundant function call for updating group metadata about last activity

  • bp-groups/bp-groups-functions.php

     
    159159                $member->date_modified = bp_core_current_time();
    160160                $member->save();
    161161
    162                 groups_update_groupmeta( $group->id, 'last_activity', bp_core_current_time() );
    163 
    164162                do_action( 'groups_create_group', $group->id, $member, $group );
    165163
    166164        } else {