Skip to content

Node.js based forum software built for the modern web

Remove log

MrWafflec0e2e9d011c4
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")
: "");