Changeset 4605 for trunk/bp-groups/bp-groups-functions.php
- Timestamp:
- 07/04/2011 05:50:22 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-functions.php
r4604 r4605 198 198 199 199 // Remove all notifications for any user belonging to this group 200 bp_ members_delete_all_notifications_by_type( $group_id, $bp->groups->slug );200 bp_core_delete_all_notifications_by_type( $group_id, $bp->groups->slug ); 201 201 202 202 // Remove forum if component is active and current group has one … … 591 591 groups_update_groupmeta( $group_id, 'last_activity', bp_core_current_time() ); 592 592 593 bp_ members_delete_notifications_by_item_id( $user_id, $group_id, $bp->groups->id, 'group_invite' );593 bp_core_delete_notifications_by_item_id( $user_id, $group_id, $bp->groups->id, 'group_invite' ); 594 594 595 595 do_action( 'groups_accept_invite', $user_id, $group_id ); … … 612 612 613 613 if ( $delete ) 614 bp_ members_delete_notifications_by_item_id( $user_id, $group_id, $bp->groups->id, 'group_invite' );614 bp_core_delete_notifications_by_item_id( $user_id, $group_id, $bp->groups->id, 'group_invite' ); 615 615 616 616 return $delete;
Note: See TracChangeset
for help on using the changeset viewer.