Skip to:
Content

BuddyPress.org

Changeset 1910 for trunk/bp-xprofile.php


Ignore:
Timestamp:
09/21/2009 09:37:22 PM (15 years ago)
Author:
apeatling
Message:

Fixes #1048

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile.php

    r1907 r1910  
    536536        /* Record the notification for the reciever if it's not on their own wire */
    537537        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' );
    539539       
    540540        /* Record this on the poster's activity screen */
     
    10961096    global $bp;
    10971097   
    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' );
    10991099}
    11001100add_action( 'bp_wire_screen_latest', 'xprofile_remove_screen_notifications' );
Note: See TracChangeset for help on using the changeset viewer.