From 6c610aabaa20b599436b54d819c3a976f2b7165a Mon Sep 17 00:00:00 2001 From: fatchan Date: Wed, 10 Jul 2019 03:35:27 +0000 Subject: [PATCH] thats already in pruneoldthreads --- models/forms/makepost.js | 1 - 1 file changed, 1 deletion(-) diff --git a/models/forms/makepost.js b/models/forms/makepost.js index 075ccf3f..977c1c94 100644 --- a/models/forms/makepost.js +++ b/models/forms/makepost.js @@ -329,7 +329,6 @@ module.exports = async (req, res, next) => { } else { //new thread, prunes any old threads before rebuilds const prunedThreads = await Posts.pruneOldThreads(res.locals.board); -//TODO: could add early404 here alongside thread pruning. if (prunedThreads.length > 0) { await deletePosts(prunedThreads, req.params.board); }