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-groups/bp-groups-filters.php

    r6285 r6342  
    7878
    7979/**
    80  * Only filter the forum SQL on group pages or on the forums directory 
     80 * Only filter the forum SQL on group pages or on the forums directory
    8181 */
    8282function groups_add_forum_privacy_sql() {
     
    148148    if ( bp_current_user_can( 'bp_moderate' ) )
    149149        return true;
    150    
     150
    151151    if ( 'add_tag_to' == $cap )
    152152        if ( $bp->groups->current_group->user_has_access ) return true;
     
    170170}
    171171add_filter( 'get_latest_topics_fields', 'groups_filter_forums_root_page_sql' );
    172 
    173 ?>
Note: See TracChangeset for help on using the changeset viewer.