mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-16 18:56:15 +01:00
fix wrong callback
This commit is contained in:
@@ -128,7 +128,7 @@ var utils = require('../public/src/utils');
|
|||||||
callback = callback || function() {};
|
callback = callback || function() {};
|
||||||
|
|
||||||
batch.processSortedSet('events:time', function(eids, next) {
|
batch.processSortedSet('events:time', function(eids, next) {
|
||||||
events.deleteEvents(eids, callback);
|
events.deleteEvents(eids, next);
|
||||||
}, {alwaysStartAt: 0}, callback);
|
}, {alwaysStartAt: 0}, callback);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user