• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Future fix Orphan profile post data after user deletion

xf_phantom

Well-known member
#1
When a user is being deleted, the xf dw runs only
PHP:
$db->delete('xf_profile_post', "profile_user_id = $userIdQuoted");
This is causing several problems:
1. the comments from this posts won't be deleted
2. the associated data, which are deleted via XenForo_DataWriter_DiscussionMessage won't be deleted too
3. all other data (from addons) which would be deleted on profilepostdw::postDelete won't be deleted too,
couldn't you start to use the deferred system for such tasks too? (just like with the threads)
 
Last edited: