Changeset 4558 for trunk/bp-activity/bp-activity-notifications.php
- Timestamp:
- 06/24/2011 06:52:57 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-notifications.php
r4372 r4558 35 35 36 36 // Now email the user with the contents of the message (if they have enabled email notifications) 37 if ( 'no' != get_user_meta( $receiver_user_id, bp_get_user_meta_key( 'notification_activity_new_mention' ), true ) ) {37 if ( 'no' != bp_get_user_meta( $receiver_user_id, 'notification_activity_new_mention', true ) ) { 38 38 $poster_name = bp_core_get_user_displayname( $poster_user_id ); 39 39 … … 82 82 $original_activity = new BP_Activity_Activity( $activity_id ); 83 83 84 if ( $original_activity->user_id != $commenter_id && 'no' != get_user_meta( $original_activity->user_id, bp_get_user_meta_key( 'notification_activity_new_reply' ), true ) ) {84 if ( $original_activity->user_id != $commenter_id && 'no' != bp_get_user_meta( $original_activity->user_id, 'notification_activity_new_reply', true ) ) { 85 85 $poster_name = bp_core_get_user_displayname( $commenter_id ); 86 86 $thread_link = bp_activity_get_permalink( $activity_id ); … … 127 127 $parent_comment = new BP_Activity_Activity( $parent_id ); 128 128 129 if ( $parent_comment->user_id != $commenter_id && $original_activity->user_id != $parent_comment->user_id && 'no' != get_user_meta( $parent_comment->user_id, bp_get_user_meta_key( 'notification_activity_new_reply' ), true ) ) {129 if ( $parent_comment->user_id != $commenter_id && $original_activity->user_id != $parent_comment->user_id && 'no' != bp_get_user_meta( $parent_comment->user_id, 'notification_activity_new_reply', true ) ) { 130 130 $poster_name = bp_core_get_user_displayname( $commenter_id ); 131 131 $thread_link = bp_activity_get_permalink( $activity_id );
Note: See TracChangeset
for help on using the changeset viewer.