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-messages/bp-messages-classes.php

    r4825 r4961  
    9595        elseif ( $type == 'read' )
    9696            $type_sql = $wpdb->prepare( " AND r.unread_count = 0 " );
    97        
     97
    9898        if ( 'sentbox' == $box ) {
    9999            $thread_ids = $wpdb->get_results( $wpdb->prepare( "SELECT m.thread_id, MAX(m.date_sent) AS date_sent FROM {$bp->messages->table_name_recipients} r, {$bp->messages->table_name_messages} m WHERE m.thread_id = r.thread_id AND m.sender_id = r.user_id AND m.sender_id = %d AND r.is_deleted = 0 GROUP BY m.thread_id ORDER BY date_sent DESC {$pag_sql}", $user_id ) );
     
    254254        $this->__construct( $id );
    255255    }
    256    
     256
    257257    function __construct( $id = null ) {
    258258        global $bp;
     
    379379        $this->__construct($id);
    380380    }
    381    
     381
    382382    function __construct( $id = null ) {
    383383        if ( $id ) {
Note: See TracChangeset for help on using the changeset viewer.