mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 10:35:55 +01:00
removed most of the debug
dont get more than 6 usernames for upvote tooltips generatePostPaths wont check null pids
This commit is contained in:
@@ -16,10 +16,6 @@ module.exports = function(privileges) {
|
||||
privileges.posts = {};
|
||||
|
||||
privileges.posts.get = function(pids, uid, callback) {
|
||||
if (pids && pids.length > 50) {
|
||||
var e = new Error('too many keys')
|
||||
winston.warn('[TOO_MANY_KEYS] ' + pids.length, e.stack);
|
||||
}
|
||||
async.parallel({
|
||||
manage_content: function(next) {
|
||||
helpers.hasEnoughReputationFor('privileges:manage_content', uid, next);
|
||||
|
||||
Reference in New Issue
Block a user