From 23fcdde25ed21a36c0ae49ae535366ca3c46c930 Mon Sep 17 00:00:00 2001 From: Baris Soner Usakli Date: Thu, 1 Aug 2013 17:36:01 -0400 Subject: [PATCH] removed console.log and commented out code --- public/src/app.js | 1 - src/websockets.js | 3 --- 2 files changed, 4 deletions(-) diff --git a/public/src/app.js b/public/src/app.js index 601edb7fea..971dc686ac 100644 --- a/public/src/app.js +++ b/public/src/app.js @@ -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(), diff --git a/src/websockets.js b/src/websockets.js index d1b87f7105..1263533ab3 100644 --- a/src/websockets.js +++ b/src/websockets.js @@ -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}); }); });