删除用户优化

This commit is contained in:
life
2015-11-20 00:19:21 +08:00
parent d620c30298
commit e12e07f967
3 changed files with 11 additions and 11 deletions

View File

@@ -366,7 +366,7 @@ define(function() {
return callback();
}
async.eachSeries(notes, function (note, cb) {
Api.dbService.noteHistories.remove( {_id: note.NoteId}, { multi: true }, function () {
sourceDb.noteHistories.remove( {_id: note.NoteId}, { multi: true }, function () {
cb();
});
}, function () {