[buddypress-trac] [BuddyPress] #5097: Activity meta data not deleted for the comments of an activity when the activity is deleted (bloating the meta table with orphans)

buddypress-trac noreply at wordpress.org
Sun Sep 29 20:51:32 UTC 2013


#5097: Activity meta data not deleted for the comments of an activity when the
activity is deleted (bloating the meta table with orphans)
--------------------------+------------------
 Reporter:  dtc7240       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  1.9
Component:  Activity      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by r-a-y):

 As I was writing up yesterday's Trac comment for 01.patch, I realized the
 error of my ways ;)

 02.patch handles activity comment deletion directly in the `delete()`
 method.

 Patch also adds phpDoc and adds a second parameter to the
 `delete_activity_item_comments()` method to clear the activity comment
 meta cache.  Even though this method is no longer used, I felt that we
 should fix this anyway.

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


More information about the buddypress-trac mailing list