remove unnecessary code

This commit is contained in:
barisusakli
2017-02-17 22:33:41 +03:00
parent a379b03e71
commit aa64ec7db1

View File

@@ -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) {