Skip to content

Node.js based forum software built for the modern web

fix: removing ability to specify deprecated topic 'thumb' on topic creation

Julian Lam713f029dc845
diff --git a/src/topics/create.js b/src/topics/create.js
index aacee91432..c6daa389bd 100644
--- a/src/topics/create.js
+++ b/src/topics/create.js
@@ -35,9 +35,6 @@ module.exports = function (Topics) {
postcount: 0,
viewcount: 0,
};
- if (data.thumb) {
- topicData.thumb = data.thumb;
- }
const result = await plugins.hooks.fire('filter:topic.create', { topic: topicData, data: data });
topicData = result.topic;
await db.setObject('topic:' + topicData.tid, topicData);