mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-31 19:15:58 +01:00
added getObjectsFields methods to db class, changed getUsers methods to use the new method, refactor to user.js and mongo.js
This commit is contained in:
@@ -47,8 +47,8 @@ topicsController.get = function(req, res, next) {
|
||||
if (parseInt(topicData.deleted, 10) === 1 && parseInt(topicData.expose_tools, 10) === 0) {
|
||||
return next(new Error('Topic deleted'), null);
|
||||
}
|
||||
topicData.currentPage = page;
|
||||
}
|
||||
topicData.currentPage = page;
|
||||
next(err, topicData);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user