Changeset 1892
- Timestamp:
- 09/16/2009 09:35:13 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-messages/bp-messages-notifications.php
r1815 r1892 10 10 11 11 for ( $i = 0; $i < count($recipient_ids); $i++ ) { 12 if ( $message->sender_id == $recipient_ids[$i] || 'no' == get_user data( $recipient_ids[$i], 'notification-messages-new-message' ) ) continue;12 if ( $message->sender_id == $recipient_ids[$i] || 'no' == get_usermeta( $recipient_ids[$i], 'notification_messages_new_message' ) ) continue; 13 13 14 14 $ud = get_userdata( $recipient_ids[$i] ); … … 47 47 48 48 for ( $i = 0; $i < count($users); $i++ ) { 49 if ( get_user data( $users[$i]->user_id, 'notification-messages-new-notice' ) == 'no' ) continue;49 if ( get_usermeta( $users[$i]->user_id, 'notification_messages_new_notice' ) == 'no' ) continue; 50 50 51 51 $message_link = bp_core_get_user_domain( $users[$i]->user_id ) . 'messages';
Note: See TracChangeset
for help on using the changeset viewer.