mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-27 09:49:52 +01:00
removed console.log
This commit is contained in:
@@ -53,7 +53,6 @@ SocketTopics.post = function(socket, data, callback) {
|
||||
}
|
||||
|
||||
if (result) {
|
||||
console.log(result.topicData);
|
||||
index.server.sockets.in('category_' + data.category_id).emit('event:new_topic', result.topicData);
|
||||
index.server.sockets.in('recent_posts').emit('event:new_topic', result.topicData);
|
||||
index.server.sockets.in('user/' + socket.uid).emit('event:new_post', {
|
||||
|
||||
@@ -143,7 +143,7 @@ var async = require('async'),
|
||||
}
|
||||
topicData = topicData[0];
|
||||
topicData.unreplied = 1;
|
||||
console.log(topicData);
|
||||
|
||||
next(null, {
|
||||
topicData: topicData,
|
||||
postData: postData
|
||||
@@ -688,7 +688,6 @@ var async = require('async'),
|
||||
categoryTools.privileges(topicData.cid, current_user, next);
|
||||
},
|
||||
categoryData : function (next) {
|
||||
console.log(topicData.cid);
|
||||
categories.getCategoryFields(topicData.cid, ['name', 'slug', 'icon'], next);
|
||||
}
|
||||
}, callback);
|
||||
|
||||
Reference in New Issue
Block a user