Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/28/2016 09:02:10 PM (8 years ago)
Author:
r-a-y
Message:

Groups: Change logic for groups_check_user_has_invite() and groups_check_for_membership_request().

This commit changes the internal logic for groups_check_user_has_invite()
and groups_check_for_membership_request() to use the new group membership
caching logic introduced in #6327.

See #7078.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/bp-groups-cache.php

    r10794 r10819  
    252252add_action( 'bp_groups_member_before_delete', 'bp_groups_clear_user_group_cache_on_other_events', 10, 2 );
    253253add_action( 'bp_groups_member_before_delete_invite', 'bp_groups_clear_user_group_cache_on_other_events', 10, 2 );
     254add_action( 'groups_accept_invite', 'bp_groups_clear_user_group_cache_on_other_events', 10, 2 );
    254255
    255256/* List actions to clear super cached pages on, if super cache is installed */
Note: See TracChangeset for help on using the changeset viewer.