mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-16 10:46:14 +01:00
removed getLatestTids, renamed getPostsByTid removed unused tid param
This commit is contained in:
@@ -6,7 +6,7 @@ var async = require('async'),
|
||||
|
||||
module.exports = function(Posts) {
|
||||
|
||||
Posts.getPostsByTid = function(tid, set, start, stop, uid, reverse, callback) {
|
||||
Posts.getPostsFromSet = function(set, start, stop, uid, reverse, callback) {
|
||||
Posts.getPidsFromSet(set, start, stop, reverse, function(err, pids) {
|
||||
if (err) {
|
||||
return callback(err);
|
||||
|
||||
Reference in New Issue
Block a user