Changeset 1910 for trunk/bp-xprofile.php
- Timestamp:
- 09/21/2009 09:37:22 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile.php
r1907 r1910 536 536 /* Record the notification for the reciever if it's not on their own wire */ 537 537 if ( !bp_is_home() ) 538 bp_core_add_notification( $bp->loggedin_user->id, $bp->displayed_user->id, 'profile', 'new_wire_post' );538 bp_core_add_notification( $bp->loggedin_user->id, $bp->displayed_user->id, $bp->profile->id, 'new_wire_post' ); 539 539 540 540 /* Record this on the poster's activity screen */ … … 1096 1096 global $bp; 1097 1097 1098 bp_core_delete_notifications_for_user_by_type( $bp->loggedin_user->id, 'profile', 'new_wire_post' );1098 bp_core_delete_notifications_for_user_by_type( $bp->loggedin_user->id, $bp->profile->id, 'new_wire_post' ); 1099 1099 } 1100 1100 add_action( 'bp_wire_screen_latest', 'xprofile_remove_screen_notifications' );
Note: See TracChangeset
for help on using the changeset viewer.