Skip to:
Content

BuddyPress.org

Changeset 2333 for trunk/bp-xprofile.php


Ignore:
Timestamp:
01/18/2010 12:13:44 PM (15 years ago)
Author:
apeatling
Message:

Fixes #1588 - friendship accepted notification clear.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile.php

    r2298 r2333  
    286286    global $bp;
    287287
    288     // If this is a first visit to a new friends profile, delete the friend accepted notifications for the
    289     // 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 
    293288    do_action( 'xprofile_screen_display_profile', $_GET['new'] );
    294289    bp_core_load_template( apply_filters( 'xprofile_template_display_profile', 'members/single/home' ) );
Note: See TracChangeset for help on using the changeset viewer.