Changeset 462 for trunk/bp-friends.php
- Timestamp:
- 10/30/2008 12:18:36 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/bp-friends.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-friends.php
r449 r462 118 118 function friends_screen_requests() { 119 119 global $bp; 120 121 // Remove any notifications of new friend requests as we are viewing the 122 // friend request page 123 bp_core_delete_notifications_for_user_by_type( $bp['loggedin_userid'], 'friends', 'friendship_request' ); 124 120 125 121 if ( isset($bp['action_variables']) && in_array( 'accept', $bp['action_variables'] ) && is_numeric($bp['action_variables'][1]) ) { 126 122 127 123 if ( friends_accept_friendship( $bp['action_variables'][1] ) ) { 124 //bp_core_delete_notification( $bp['loggedin_userid'], 'friends', 'friendship_request' ); 125 128 126 $bp['message'] = __('Friendship accepted', 'buddypress'); 129 127 $bp['message_type'] = 'success';
Note: See TracChangeset
for help on using the changeset viewer.