Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/04/2011 05:50:22 PM (13 years ago)
Author:
johnjamesjacoby
Message:

First pass at reverting members/core function & filter refactor. See #3158.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-groups/bp-groups-functions.php

    r4604 r4605  
    198198
    199199    // 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 );
    201201
    202202    // Remove forum if component is active and current group has one
     
    591591    groups_update_groupmeta( $group_id, 'last_activity', bp_core_current_time() );
    592592
    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' );
    594594
    595595    do_action( 'groups_accept_invite', $user_id, $group_id );
     
    612612
    613613    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' );
    615615
    616616    return $delete;
Note: See TracChangeset for help on using the changeset viewer.