use loadMoreFromSet

This commit is contained in:
barisusakli
2014-11-16 18:31:57 -05:00
parent 32e08ba419
commit 0a1fa72bd8
4 changed files with 4 additions and 18 deletions

View File

@@ -15,10 +15,6 @@ module.exports = function(Topics) {
year: 31104000000
};
Topics.getRecentTopics = function(uid, start, end, callback) {
Topics.getTopicsFromSet('topics:recent', uid, start, end, callback);
};
Topics.getLatestTopics = function(uid, start, end, term, callback) {
async.waterfall([
function (next) {