mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 15:35:47 +01:00
fixed editing
This commit is contained in:
@@ -19,8 +19,6 @@ var RDB = require('./redis.js'),
|
||||
}
|
||||
|
||||
function hasEnoughRep(next) {
|
||||
// DRY fail in postTools
|
||||
|
||||
user.getUserField(uid, 'reputation', function(reputation) {
|
||||
next(null, reputation >= global.config['privileges:manage_topic']);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user