Annotation import: Use skipAll for lastProcessedModificationTime save

This commit is contained in:
Dan Stillman 2021-12-20 21:34:14 -05:00
parent d76cf829b1
commit ea18641a62

View file

@ -315,7 +315,9 @@ class PDFWorker {
}
attachment.attachmentLastProcessedModificationTime = mtime;
await attachment.saveTx({ skipDateModifiedUpdate: true });
await attachment.saveTx({
skipAll: true
});
Zotero.debug(`Imported ${imported.length} annotation(s) for item ${attachment.libraryKey} `
+ `in ${new Date() - t} ms`);