mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-14 09:55:47 +01:00
use loadMoreFromSet
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user