Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/10/2011 06:32:02 AM (14 years ago)
Author:
djpaul
Message:

Tidy up whitespace. Fixes #3466, props cnorris23

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-notifications.php

    r4817 r4961  
    77 *
    88 * @package BuddyPress Activity
    9  * @param str $content The content of the activity update 
     9 * @param str $content The content of the activity update
    1010 * @param int $poster_user_id The unique user_id of the user who sent the update
    1111 * @param int $activity_id The id of the activity update
     
    1818    $subject = '';
    1919    $message = '';
    20    
     20
    2121    // Add the BP notification
    2222    bp_core_add_notification( $activity_id, $receiver_user_id, 'activity', 'new_at_mention', $activity->user_id );
    23            
     23
    2424    // Now email the user with the contents of the message (if they have enabled email notifications)
    2525    if ( 'no' != bp_get_user_meta( $receiver_user_id, 'notification_activity_new_mention', true ) ) {
     
    6969        wp_mail( $to, $subject, $message );
    7070    }
    71    
     71
    7272    do_action( 'bp_activity_sent_mention_email', $activity, $subject, $message, $content );
    7373}
Note: See TracChangeset for help on using the changeset viewer.