From c0e2e9d011c45fa2411f89d8d14d0959d8e7157b Mon Sep 17 00:00:00 2001 From: MrWaffle Date: Wed, 22 Jan 2014 20:21:56 +0100 Subject: [PATCH] Remove log --- src/topics.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/topics.js b/src/topics.js index bb5c7eaad8..35cf7b0d9a 100644 --- a/src/topics.js +++ b/src/topics.js @@ -379,12 +379,10 @@ var async = require('async'), var rest_amount = 0; if (data.hasOwnProperty(pid) && pid_uids.length > 0) { if (pid_uids.length > max) { - console.log(pid_uids); rest_amount = pid_uids.length - max; pid_uids = pid_uids.slice(0, max); } user.getUsernamesByUids(pid_uids, function(result) { - console.log(rest_amount); usernames[pid] = result.join(', ') + (rest_amount > 0 ? " and " + rest_amount + (rest_amount > 1 ? " others" : " other") : "");