Skip to content

Node.js based forum software built for the modern web

closes #4615

barisusakli4907773e6afb
diff --git a/src/user/delete.js b/src/user/delete.js
index 011ed0aa12..99119c7ffb 100644
--- a/src/user/delete.js
+++ b/src/user/delete.js
@@ -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);