Collections data layer cleanup

Get rid of data_access.js, at long last. Existing calls to
Zotero.getCollections() will need to be replaced with
Zotero.Collections.getByLibrary() or .getByParent().

Also removes Zotero.Collection::getCollections(), which is redundant
with Zotero.Collections.getByLibrary(), and Zotero.Collections.add().
The latter didn't didn't include a libraryID anyway, so code might as
well just use 'new Zotero.Collection' instead.
This commit is contained in:
Dan Stillman 2015-05-24 03:40:45 -04:00
parent ef57b4e016
commit ff7919553c
11 changed files with 109 additions and 187 deletions

View file

@ -61,7 +61,6 @@ const xpcomFilesLocal = [
'attachments',
'cite',
'cookieSandbox',
'data_access',
'data/dataObject',
'data/dataObjects',
'data/dataObjectUtilities',