category purge fix

v1.18.x
barisusakli 9 years ago
parent 0b052171f0
commit a054353b6c

@ -25,7 +25,7 @@ module.exports = function(Categories) {
}; };
function purgeCategory(cid, callback) { function purgeCategory(cid, callback) {
async.parallel([ async.series([
function(next) { function(next) {
db.sortedSetRemove('categories:cid', cid, next); db.sortedSetRemove('categories:cid', cid, next);
}, },

Loading…
Cancel
Save