remove unused functions added in this pull request

v1.18.x
Ben Lubar 8 years ago
parent ea10f51f2e
commit d4774e98b4
No known key found for this signature in database
GPG Key ID: 018BAB45DB2D2B24

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

Loading…
Cancel
Save