Changeset 4961 for trunk/bp-friends/bp-friends-functions.php
- Timestamp:
- 08/10/2011 06:32:02 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-friends/bp-friends-functions.php
r4822 r4961 257 257 function friends_update_friend_totals( $initiator_user_id, $friend_user_id, $status = 'add' ) { 258 258 global $bp; 259 259 260 260 if ( 'add' == $status ) { 261 261 bp_update_user_meta( $initiator_user_id, 'total_friend_count', (int)bp_get_user_meta( $initiator_user_id, 'total_friend_count', true ) + 1 );
Note: See TracChangeset
for help on using the changeset viewer.