diff --git a/chrome/content/zotero/xpcom/data/items.js b/chrome/content/zotero/xpcom/data/items.js index 3a5fe3e4cc..657b46f836 100644 --- a/chrome/content/zotero/xpcom/data/items.js +++ b/chrome/content/zotero/xpcom/data/items.js @@ -980,7 +980,7 @@ Zotero.Items = function () { }; - this.trash = async function (ids, options = {}) { + this.trash = async function (ids) { Zotero.DB.requireTransaction(); var libraryIDs = new Set(); @@ -1073,9 +1073,9 @@ Zotero.Items = function () { }; - this.trashTx = function (ids, options) { + this.trashTx = function (ids) { return Zotero.DB.executeTransaction(async function () { - return this.trash(ids, options); + return this.trash(ids); }.bind(this)); }