Changeset 2333 for trunk/bp-xprofile.php
- Timestamp:
- 01/18/2010 12:13:44 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile.php
r2298 r2333 286 286 global $bp; 287 287 288 // If this is a first visit to a new friends profile, delete the friend accepted notifications for the289 // logged in user, only if $_GET['new'] is set.290 if ( isset($_GET['new']) )291 bp_core_delete_notifications_for_user_by_type( $bp->loggedin_user->id, 'friends', 'friendship_accepted' );292 293 288 do_action( 'xprofile_screen_display_profile', $_GET['new'] ); 294 289 bp_core_load_template( apply_filters( 'xprofile_template_display_profile', 'members/single/home' ) );
Note: See TracChangeset
for help on using the changeset viewer.