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

    r6331 r6342  
    5151            $this->mptt_right        = $row->mptt_right;
    5252            $this->is_spam           = $row->is_spam;
    53            
     53
    5454            bp_activity_update_meta_cache( $this->id );
    5555        }
     
    208208        // Define the preferred order for indexes
    209209        $indexes = apply_filters( 'bp_activity_preferred_index_order', array( 'user_id', 'item_id', 'secondary_item_id', 'date_recorded', 'component', 'type', 'hide_sitewide', 'is_spam' ) );
    210        
     210
    211211        foreach( $indexes as $key => $index ) {
    212212            if ( false !== strpos( $where_sql, $index ) ) {
     
    217217
    218218        if ( !empty( $the_index ) ) {
    219             $index_hint_sql = $wpdb->prepare( "USE INDEX ({$the_index})" ); 
     219            $index_hint_sql = $wpdb->prepare( "USE INDEX ({$the_index})" );
    220220        } else {
    221221            $index_hint_sql = '';
     
    262262            }
    263263        }
    264        
     264
    265265        // Get activity meta
    266266        $activity_ids = array();
     
    268268            $activity_ids[] = $activity->id;
    269269        }
    270        
     270
    271271        if ( !empty( $activity_ids ) ) {
    272272            bp_activity_update_meta_cache( $activity_ids );
     
    670670    }
    671671}
    672 
    673 ?>
Note: See TracChangeset for help on using the changeset viewer.