mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 22:15:48 +01:00
removed console.logs
This commit is contained in:
@@ -26,7 +26,6 @@ var user = require('./../user.js'),
|
|||||||
categories.getRecentReplies(category.cid, 2, function(posts) {
|
categories.getRecentReplies(category.cid, 2, function(posts) {
|
||||||
category["posts"] = posts;
|
category["posts"] = posts;
|
||||||
category["post_count"] = posts.length>2 ? 2 : posts.length;
|
category["post_count"] = posts.length>2 ? 2 : posts.length;
|
||||||
console.log(category.cid, 'worked');
|
|
||||||
callback(null);
|
callback(null);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user