From d4774e98b432fc0f0739821e3ef06351b516833b Mon Sep 17 00:00:00 2001 From: Ben Lubar Date: Thu, 27 Oct 2016 18:47:33 -0500 Subject: [PATCH] remove unused functions added in this pull request --- src/posts.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/posts.js b/src/posts.js index 851735a9ba..975846859b 100644 --- a/src/posts.js +++ b/src/posts.js @@ -260,19 +260,4 @@ var plugins = require('./plugins'); }); }; - Posts.getReplyPids = function (pid, callback) { - db.getSortedSetRange('pid:' + pid + ':replies', 0, -1, callback); - }; - - Posts.getReplyPosts = function (pid, uid, callback) { - async.waterfall([ - function (next) { - Posts.getReplyPids(pid, next); - }, - function (pids, next) { - Posts.getPostsByPids(pids, uid, next); - } - ], callback); - }; - }(exports));