mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-03 22:30:58 +01:00
remove unnecessary code
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user