Admin Guide
ACP/Forums/Prune forums
Prune forums
This will delete any topic which has not been posted to or viewed within the number of days you select. If you do not enter a number then all topics will be deleted. By default, it will not remove topics in which polls are still running nor will it remove stickies and announcements.
Be careful before using this command, as it can remove all the posts in the respective forums.