![]() |
Removing threads with no posts
Ok, I've written something that removes alot of posts and threads but there's still for some reason alot of threads that don't have posts....
Code:
$sql = "DELETE FROM thread WHERE attach = '0'"; |
You can try fixing this with a 'Remove Orphan Threads' from the Update Counters screen in ACP. I suggest you also rebuild the Forum & Thread Information.
Also you could have removed those threads with the Prune function, no need to do this manual. |
All times are GMT. The time now is 04:18 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|