Skip to:
Content

BuddyPress.org

Changeset 2757


Ignore:
Timestamp:
02/22/2010 12:37:57 PM (14 years ago)
Author:
apeatling
Message:

Fixed missing activity favorite actions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/bp-activity.php

    r2749 r2757  
    10121012    bp_activity_update_meta( $activity_id, 'favorite_count', $fav_count );
    10131013
     1014    do_action( 'bp_activity_add_user_favorite', $activity_id, $user_id );
     1015
    10141016    return true;
    10151017}
     
    10361038
    10371039    update_usermeta( $user_id, 'bp_favorite_activities', $my_favs );
     1040
     1041    do_action( 'bp_activity_remove_user_favorite', $activity_id, $user_id );
    10381042
    10391043    return true;
Note: See TracChangeset for help on using the changeset viewer.