mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 16:35:47 +01:00
closes #4615
This commit is contained in:
@@ -30,7 +30,7 @@ module.exports = function(User) {
|
||||
|
||||
function deletePosts(callerUid, uid, callback) {
|
||||
batch.processSortedSet('uid:' + uid + ':posts', function(ids, next) {
|
||||
async.eachSeries(ids, function(pid, netx) {
|
||||
async.eachSeries(ids, function(pid, next) {
|
||||
posts.purge(pid, callerUid, next);
|
||||
}, next);
|
||||
}, {alwaysStartAt: 0}, callback);
|
||||
|
||||
Reference in New Issue
Block a user