v1.18.x
barisusakli 10 years ago
parent 11c70f3a28
commit 09927915ab

@ -62,7 +62,7 @@ var async = require('async'),
}, },
function (canPurge, next) { function (canPurge, next) {
if (!canPurge) { if (!canPurge) {
return callback(new Error('[[error:no-privileges]]')); return next(new Error('[[error:no-privileges]]'));
} }
cache.del(pid); cache.del(pid);
posts.purge(pid, next); posts.purge(pid, next);

Loading…
Cancel
Save