removed most of the debug

dont get more than 6 usernames for upvote tooltips
generatePostPaths wont check null pids
This commit is contained in:
barisusakli
2014-09-06 20:46:18 -04:00
parent 0ad42873d5
commit 57e204df8e
7 changed files with 28 additions and 55 deletions

View File

@@ -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);