1. 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

Discussion in 'Future-Fix Bug Reports' started by xf_phantom, Jul 22, 2013.

  1. xf_phantom

    xf_phantom Well-Known Member

    When a user is being deleted, the xf dw runs only
    $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: Jul 22, 2013
  2. Mike

    Mike XenForo Developer Staff Member

    Something we may consider in the future.
    shenmuee likes this.

Share This Page