Node.js based forum software built for the modern web
remove unnecessary code
barisusakliaa64ec7db19d
diff --git a/src/socket.io/topics/move.js b/src/socket.io/topics/move.jsindex 25f5f8a19d..938fe22792 100644--- a/src/socket.io/topics/move.js+++ b/src/socket.io/topics/move.js@@ -23,9 +23,7 @@ module.exports = function (SocketTopics) {if (!canMove) {return next(new Error('[[error:no-privileges]]'));}- next();- },- function (next) {+topics.getTopicFields(tid, ['cid', 'slug'], next);},function (_topicData, next) {