check err

v1.18.x
barisusakli 10 years ago
parent b48d81310c
commit 6a64a3ab92

@ -18,6 +18,9 @@ module.exports = function(Categories) {
threadTools.purge(tid, 0, next);
}, next);
}, {alwaysStartAt: 0}, function(err) {
if (err) {
return callback(err);
}
purgeCategory(cid, callback);
});
};

Loading…
Cancel
Save