Remove 'lastsync' assignment from Zotero.Collection constructor

This commit is contained in:
Dan Stillman 2020-06-20 18:37:41 -04:00
parent b4522535e8
commit 0941a14a65

View file

@ -31,8 +31,7 @@ Zotero.Collection = function(params = {}) {
this._childCollections = new Set(); this._childCollections = new Set();
this._childItems = new Set(); this._childItems = new Set();
Zotero.Utilities.assignProps(this, params, ['name', 'libraryID', 'parentID', Zotero.Utilities.assignProps(this, params, ['name', 'libraryID', 'parentID', 'parentKey']);
'parentKey', 'lastSync']);
} }
Zotero.extendClass(Zotero.DataObject, Zotero.Collection); Zotero.extendClass(Zotero.DataObject, Zotero.Collection);