Skip to:
Content

BuddyPress.org

Changeset 4799


Ignore:
Timestamp:
07/22/2011 03:55:42 PM (13 years ago)
Author:
boonebgorges
Message:

Don't load friends notifications file multiple times. See #3367

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-friends/bp-friends-functions.php

    r4775 r4799  
    3535
    3636            // Send the email notification
    37             require( BP_PLUGIN_DIR . '/bp-friends/bp-friends-notifications.php' );
    3837            friends_notification_new_request( $friendship->id, $friendship->initiator_user_id, $friendship->friend_user_id );
    3938
     
    108107
    109108        // Send the email notification
    110         require( BP_PLUGIN_DIR . '/bp-friends/bp-friends-notifications.php' );
    111109        friends_notification_accepted_request( $friendship->id, $friendship->initiator_user_id, $friendship->friend_user_id );
    112110
Note: See TracChangeset for help on using the changeset viewer.