Skip to:
Content

BuddyPress.org

Changeset 2925 for trunk/bp-friends.php


Ignore:
Timestamp:
04/15/2010 11:59:40 AM (14 years ago)
Author:
apeatling
Message:

Merging 1.2 branch with trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-friends.php

    r2863 r2925  
    595595    global $bp;
    596596
    597     if ( isset($_GET['new']) )
    598         bp_core_delete_notifications_for_user_by_type( $bp->displayed_user->id, $bp->friends->id, 'friendship_accepted' );
     597    if ( isset( $_GET['new'] ) )
     598        bp_core_delete_notifications_for_user_by_type( $bp->loggedin_user->id, $bp->friends->id, 'friendship_accepted' );
    599599}
    600600add_action( 'bp_activity_screen_my_activity', 'friends_clear_friend_notifications' );
Note: See TracChangeset for help on using the changeset viewer.