mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-14 09:55:47 +01:00
make sure user is admin/mod before forking
This commit is contained in:
@@ -47,7 +47,9 @@ module.exports = function(Topics) {
|
||||
function(next) {
|
||||
Topics.setTopicField(tid, 'lastposttime', timestamp, next);
|
||||
}
|
||||
], callback);
|
||||
], function(err, results) {
|
||||
callback(err);
|
||||
});
|
||||
};
|
||||
|
||||
Topics.updateRecent = function(tid, timestamp, callback) {
|
||||
|
||||
Reference in New Issue
Block a user