Changeset 7149
- Timestamp:
- 06/04/2013 11:28:40 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-classes.php
r7051 r7149 615 615 } 616 616 617 /** 618 * Fetch a list of all components that have activity items recorded 619 * 620 * @return array 621 */ 617 622 function get_recorded_components() { 618 623 global $wpdb, $bp; 619 620 return $wpdb->get_col( $wpdb->prepare( "SELECT DISTINCT component FROM {$bp->activity->table_name} ORDER BY component ASC" ) ); 624 return $wpdb->get_col( "SELECT DISTINCT component FROM {$bp->activity->table_name} ORDER BY component ASC" ); 621 625 } 622 626
Note: See TracChangeset
for help on using the changeset viewer.