From 713f029dc8455470afc650712b8ae33b8d04b497 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Fri, 18 Dec 2020 15:25:37 -0500 Subject: [PATCH] fix: removing ability to specify deprecated topic 'thumb' on topic creation --- src/topics/create.js | 3 --- 1 file changed, 3 deletions(-) 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);