Remove debug line and update error message
This commit is contained in:
parent
8e1b8022ad
commit
47299c9e85
1 changed files with 1 additions and 2 deletions
|
@ -260,7 +260,6 @@ Zotero.Sync.Storage = new function () {
|
|||
}
|
||||
|
||||
if (downloadAll || downloadForced) {
|
||||
Zotero.debug(downloadAll);
|
||||
for each(var itemID in _getFilesToDownload(libraryID, !downloadAll)) {
|
||||
var item = Zotero.Items.get(itemID);
|
||||
self.queueItem(item);
|
||||
|
@ -640,7 +639,7 @@ Zotero.Sync.Storage = new function () {
|
|||
if (typeof libraryID != 'undefined') {
|
||||
msg += " in library " + libraryID;
|
||||
if (itemModTimes) {
|
||||
throw new Error("libraryID is not allowed when itemIDs is set");
|
||||
throw new Error("libraryID is not allowed when itemModTimes is set");
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Reference in a new issue