Skip to:
Content

BuddyPress.org

Changeset 1749 for trunk/bp-messages.php


Ignore:
Timestamp:
09/01/2009 01:45:37 AM (17 years ago)
Author:
apeatling
Message:

Centrally registered activity actions in $bp->activity->actions. This will be used to add privacy support to activity feeds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-messages.php

    r1724 r1749  
    364364 */
    365365
    366 function messages_record_activity( $args = true ) {
    367     if ( function_exists('bp_activity_record') ) {
    368         extract($args);
    369         bp_activity_record( $item_id, $component_name, $component_action, $is_private );
    370     }
    371 }
    372 
    373 function messages_delete_activity( $args = true ) {
    374     if ( function_exists('bp_activity_delete') ) {
    375         extract($args);
    376         bp_activity_delete( $item_id, $component_name, $component_action, $user_id, $secondary_item_id );
    377     }
    378 }
    379 
    380366function messages_format_notifications( $action, $item_id, $secondary_item_id, $total_items ) {
    381367    global $bp;
Note: See TracChangeset for help on using the changeset viewer.