Node.js based forum software built for the modern web
breaking: remove getTopicPosts(tid, ...) usage
Barış Soner Uşaklı170e5dd94155
diff --git a/src/topics/posts.js b/src/topics/posts.jsindex 53ca58dfbe..c83c743e95 100644--- a/src/topics/posts.js+++ b/src/topics/posts.js@@ -25,11 +25,6 @@ module.exports = function (Topics) {if (!topicOrTid) {return [];}- if (typeof topicOrTid !== 'object') {- // TODO: remove in 1.19.0- winston.warn('[deprecated] Topics.getTopicPosts(tid, ...) usage is deprecated, pass a topic object as first argument!');- topicOrTid = await Topics.getTopicData(topicOrTid);- }let repliesStart = start;let repliesStop = stop;