Skip to:
Content

BuddyPress.org

Changeset 1909


Ignore:
Timestamp:
09/21/2009 09:18:36 PM (15 years ago)
Author:
apeatling
Message:

Moved bp_activity_get_list() to deprecated file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/deprecated/bp-activity-deprecated.php

    r1905 r1909  
    6969}
    7070
     71/* DEPRECATED - use the activity template loop directly */
     72function bp_activity_get_list( $user_id, $title, $no_activity, $limit = false ) {
     73    global $bp_activity_user_id, $bp_activity_limit, $bp_activity_title, $bp_activity_no_activity;
     74   
     75    $bp_activity_user_id = $user_id;
     76    $bp_activity_limit = $limit;
     77    $bp_activity_title = $title;
     78    $bp_activity_no_activity = $no_activity;
     79   
     80    locate_template( array( '/activity/activity-list.php' ), true );
     81}
     82
     83
    7184/* DEPRECATED - Structural CSS is now theme based. */
    7285function bp_activity_add_structure_css() {
Note: See TracChangeset for help on using the changeset viewer.