[buddypress-trac] [BuddyPress] #1052: Activity table DB engine

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Jan 18 17:22:10 UTC 2010


#1052: Activity table DB engine
-----------------------+----------------------------------------------------
  Reporter:  petronic  |       Owner:        
      Type:  defect    |      Status:  closed
  Priority:  minor     |   Milestone:  1.2   
Resolution:  invalid   |    Keywords:        
-----------------------+----------------------------------------------------
Changes (by apeatling):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 There's a hook in the code now that will return the activity_ids when
 activity entries are deleted. You can hook into this instead.

 From the code:

 {{{
 /***
  * Deleting Activity
  *
  * There are multiple ways to delete activity items, depending on
  * the information you have at the time.
  *
  * If you're looking to hook into one action that provides the ID(s) of
  * the activity/activities deleted, then use:
  *
  * add_action( 'bp_activity_deleted_activities', 'my_function' );
  *
  * The action passes one parameter that is a single activity ID or an
  * array of activity IDs depending on the number deleted.
 */
 }}}

-- 
Ticket URL: <http://trac.buddypress.org/ticket/1052#comment:2>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list