mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 14:35:47 +01:00
category whitelist for replying to posts, lots of refactoring, too
This commit is contained in:
@@ -36,9 +36,7 @@ var RDB = require('./redis'),
|
||||
|
||||
function getThreadPrivileges(next) {
|
||||
posts.getPostField(pid, 'tid', function(err, tid) {
|
||||
threadTools.privileges(tid, uid, function(privileges) {
|
||||
next(null, privileges);
|
||||
});
|
||||
threadTools.privileges(tid, uid, next);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user