[buddypress-trac] [BuddyPress Trac] #7523: Messages are not deleted from DB, when user is deleted

buddypress-trac noreply at wordpress.org
Sun May 14 13:50:47 UTC 2017


#7523: Messages are not deleted from DB, when user is deleted
--------------------------+-----------------------------
 Reporter:  slaFFik       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Messages      |    Version:
 Severity:  normal        |   Keywords:  2nd-opinion
--------------------------+-----------------------------
 Here is one of the usecases:
 If spammer sends messages and we delete him - his messages are left in DB.

 There are some others as well, I believe, when user decided to delete his
 account by himself for some reason.
 As we are currently wiping all of the data of that user, why are we not
 deleting messages?
 From code: because they are unread, but that's a problem in this scenario.
 What if we introduce a `$force` statement and somehow pass it through
 `bp_core_delete_account()` to all corresponding places?

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7523>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list