fixed editing

This commit is contained in:
Baris Usakli
2013-07-03 13:54:47 -04:00
parent bff188b116
commit 0c77db1f22
3 changed files with 13 additions and 16 deletions

View File

@@ -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']);
});