mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-16 10:46:14 +01:00
category purge fix
This commit is contained in:
@@ -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);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user