removed console.log

v1.18.x
Baris Soner Usakli 11 years ago
parent 7e5a7c53bd
commit fd8e7327f0

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

Loading…
Cancel
Save