Changeset 6150
- Timestamp:
- 06/29/2012 06:54:15 PM (12 years ago)
- Location:
- trunk/bp-groups
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-cache.php
r6100 r6150 97 97 add_action( 'groups_ban_member', 'bp_core_clear_cache' ); 98 98 add_action( 'groups_demote_member', 'bp_core_clear_cache' ); 99 add_action( 'groups_pr emote_member', 'bp_core_clear_cache' );99 add_action( 'groups_promote_member', 'bp_core_clear_cache' ); 100 100 add_action( 'groups_membership_rejected', 'bp_core_clear_cache' ); 101 101 add_action( 'groups_membership_accepted', 'bp_core_clear_cache' ); -
trunk/bp-groups/bp-groups-functions.php
r6100 r6150 727 727 $member = new BP_Groups_Member( $user_id, $group_id ); 728 728 729 // Don't use this action. It's deprecated as of BuddyPress 1.6. 729 730 do_action( 'groups_premote_member', $group_id, $user_id, $status ); 731 732 // Use this action instead. 733 do_action( 'groups_promote_member', $group_id, $user_id, $status ); 730 734 731 735 return $member->promote( $status );
Note: See TracChangeset
for help on using the changeset viewer.