xf_phantom
Well-known member
When a user is being deleted, the xf dw runs only
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:ostDelete won't be deleted too,
couldn't you start to use the deferred system for such tasks too? (just like with the threads)
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:ostDelete 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: