removed console.log and commented out code

v1.18.x
Baris Soner Usakli 12 years ago
parent 7297a26685
commit 23fcdde25e

@ -302,7 +302,6 @@ var socket,
}
app.createNewPosts = function(data) {
console.log('creating new posts');
data.posts[0].display_moderator_tools = 'none';
var html = templates.prepare(templates['topic'].blocks['posts']).parse(data),
uniqueid = new Date().getTime(),

@ -561,9 +561,6 @@ var SocketIO = require('socket.io').listen(global.server, { log:false }),
end = start + 10;
topics.getTopicPosts(data.tid, start, end, uid, function(posts) {
//io.sockets.in('topic_' + data.tid).emit('event:new_post', {
// posts: posts
//});
callback({posts:posts});
});
});

Loading…
Cancel
Save