mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 07:25:46 +01:00
more work:
This commit is contained in:
@@ -11,7 +11,7 @@ var RDB = require('./redis.js'),
|
||||
//todo: break early if one condition is true
|
||||
|
||||
function getCategoryPrivileges(next) {
|
||||
topics.get_cid_by_tid(tid, function(cid) {
|
||||
topics.getTopicField(tid, 'cid', function(cid) {
|
||||
categories.privileges(cid, uid, function(privileges) {
|
||||
next(null, privileges);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user