public function deleteThreads()
{
	$deleteDate = strtotime('-365 days');
	$threads = $this->_getDb()->fetchAll("
		SELECT * FROM xf_thread
		WHERE last_post_date < ?
	", $deleteDate);
	foreach ($threads AS $thread)
	{
		$this->getModelFromCache('XenForo_Model_Thread')->deleteThread($thread['thread_id'], 'hard');
		XenForo_Helper_Cookie::clearIdFromCookie($thread['thread_id'], 'inlinemod_threads');
	}
}