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

XF 1.5 Delete All Empty Forums

Discussion in 'XenForo Questions and Support' started by Brent W, Apr 7, 2016.

  1. Brent W

    Brent W Well-Known Member


    We have 101 empty forums from over the years and would like to delete them all at once. I have a list of all the node_ids that have discussion_count = 0. Is there a query or script I can run to delete all these forums from the database?
  2. Mike

    Mike XenForo Developer Staff Member

    There's a lot of related data in the DB that needs to be cleared out and caches that need to be rebuilt. I could only recommend doing it through the UI.

Share This Page