remove unnecessary code

v1.18.x
barisusakli 8 years ago
parent a379b03e71
commit aa64ec7db1

@ -23,9 +23,7 @@ module.exports = function (SocketTopics) {
if (!canMove) { if (!canMove) {
return next(new Error('[[error:no-privileges]]')); return next(new Error('[[error:no-privileges]]'));
} }
next();
},
function (next) {
topics.getTopicFields(tid, ['cid', 'slug'], next); topics.getTopicFields(tid, ['cid', 'slug'], next);
}, },
function (_topicData, next) { function (_topicData, next) {

Loading…
Cancel
Save