From 6cd29a31a47b8b790b2f816307c354ce3854abe3 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Sat, 28 Jun 2014 01:14:24 -0400 Subject: [PATCH] removed timing --- src/topics/posts.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/topics/posts.js b/src/topics/posts.js index 00903373a8..de64f430c1 100644 --- a/src/topics/posts.js +++ b/src/topics/posts.js @@ -42,7 +42,6 @@ module.exports = function(Topics) { }; Topics.addPostData = function(postData, uid, callback) { - var st = process.hrtime(); var pids = postData.map(function(post) { return post.pid; }); @@ -119,7 +118,7 @@ module.exports = function(Topics) { postData[i].content = '[[topic:post_is_deleted]]'; } } -process.profile('derp', st); + callback(null, postData); }); };