[buddypress-trac] [BuddyPress Trac] #6055: Cancelling a friendship never deletes the corresponding activities

buddypress-trac noreply at wordpress.org
Wed Dec 10 13:25:42 UTC 2014


#6055: Cancelling a friendship never deletes the corresponding activities
-----------------------------------+------------------
 Reporter:  imath                  |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  2.2
Component:  Friends                |     Version:  1.1
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+------------------

Comment (by imath):

 Replying to [comment:4 DJPaul]:
 > Did you mean to include `'type' => ''`?

 Yes, as the item_id (friendship id) is unique for the friendship
 component, it's a way to be sure any activities related to the friendship
 are deleted (eg: old 'friendship_accepted' one).

 But if you think, we should provide a type, there's no problem, i'll
 update the patch with `'type' => 'friendship_created'`

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6055#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list