Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/18/2012 06:03:00 PM (12 years ago)
Author:
r-a-y
Message:

EOF:

  • Fall in line with WordPress 3.4 coding practices by removing all EOF closing PHP tags.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-friends/bp-friends-template.php

    r6047 r6342  
    356356        $user_id = bp_displayed_user_id();
    357357    }
    358    
     358
    359359    if ( !$user_id ) {
    360         return 0;   
    361     }
    362    
     360        return 0;
     361    }
     362
    363363    $requests = friends_get_friendship_request_user_ids( $user_id );
    364    
     364
    365365    if ( !empty( $requests ) ) {
    366366        $requests = implode( ',', (array) $requests );
     
    368368        $requests = 0;
    369369    }
    370    
     370
    371371    return apply_filters( 'bp_get_friendship_requests', $requests );
    372372}
     
    431431        return apply_filters( 'bp_friend_get_total_requests_count', count( BP_Friends_Friendship::get_friend_user_ids( $user_id, true ) ) );
    432432    }
    433 
    434 ?>
Note: See TracChangeset for help on using the changeset viewer.