Skip to:
Content

BuddyPress.org

Changeset 1892


Ignore:
Timestamp:
09/16/2009 09:35:13 PM (15 years ago)
Author:
apeatling
Message:

Fixes #1015 props rebootnow

File:
1 edited

Legend:

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

    r1815 r1892  
    1010
    1111    for ( $i = 0; $i < count($recipient_ids); $i++ ) {
    12         if ( $message->sender_id == $recipient_ids[$i] || 'no' == get_userdata( $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;
    1313
    1414        $ud = get_userdata( $recipient_ids[$i] );
     
    4747   
    4848    for ( $i = 0; $i < count($users); $i++ ) {
    49         if ( get_userdata( $users[$i]->user_id, 'notification-messages-new-notice' ) == 'no' ) continue;
     49        if ( get_usermeta( $users[$i]->user_id, 'notification_messages_new_notice' ) == 'no' ) continue;
    5050
    5151        $message_link = bp_core_get_user_domain( $users[$i]->user_id ) . 'messages';
Note: See TracChangeset for help on using the changeset viewer.