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

Fixed Saved IPs don't get deleted

Discussion in 'Resolved Bug Reports' started by xf_phantom, May 2, 2013.

  1. xf_phantom

    xf_phantom Well-Known Member

    When somebody deletes a profile post COMMENT, the safed ip doesn't get deleted:)

    If the profile post is being deleted, the IP of profile post is being deleted, but the profile post comment IP is still in the xf_ip table.

    this leads to many orphaned data

    edit: the same is happening with conversations too
  2. xf_phantom

    xf_phantom Well-Known Member

    To be honnest, i don't understand, when you leave them in the db and when not:p

    if a thread gets deleted => you're deleting it for the thread and messages
    if a user gets deleted => they're staying in the db...
    if etc...
    if etc...
    if etc...

    to sum it up:
    its not being deleted anywhere except the Discussion or DiscussionMessage datawriter is being used
  3. Mike

    Mike XenForo Developer Staff Member

    1.2 makes this more consistent: we never remove them with the associated content as they serve as a record of activity for the user.

    However, there is now an option (which will default off for upgrades) to prune IP logs older than X days as at some point they become fairly useless.

Share This Page