mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-05 05:25:49 +01:00
fix cb
This commit is contained in:
@@ -62,7 +62,7 @@ var async = require('async'),
|
||||
},
|
||||
function (canPurge, next) {
|
||||
if (!canPurge) {
|
||||
return callback(new Error('[[error:no-privileges]]'));
|
||||
return next(new Error('[[error:no-privileges]]'));
|
||||
}
|
||||
cache.del(pid);
|
||||
posts.purge(pid, next);
|
||||
|
||||
Reference in New Issue
Block a user