AdminBoardRecount

Description

This function recounts many forum totals that can be recounted automatically without harm.

Syntax

void AdminBoardRecount ()


Notes

  • Recounts many forum totals that can be recounted automatically without harm.
  • Requires the admin_forum permission.
  • Shows the maintain_forum admin area.
  • Fixes topics with wrong num_replies.
  • Updates the num_posts and num_topics of all boards.
  • Recounts instant_messages but not unread_messages.
  • Repairs messages pointing to boards with topics pointing to other boards.
  • Updates the last message posted in boards and children.
  • Updates member count, latest member, topic count, and message count.
  • Redirects back to ?action=admin;area=maintain when complete.
  • Accessed via ?action=admin;area=maintain;sa=recount.
  • Was found in Admin.php in SMF 1.x
Advertisement: