remove dead code
This commit is contained in:
parent
6ad4a71f23
commit
4dfa16886f
1 changed files with 1 additions and 7 deletions
|
@ -155,13 +155,7 @@ class FileUploader {
|
|||
"original upload completer resolved, try adding the file to another "
|
||||
"collection",
|
||||
);
|
||||
// if (uploadedFile == null) {
|
||||
// /* todo: handle this case, ideally during next sync the localId
|
||||
// should be uploaded to this collection ID
|
||||
// */
|
||||
// _logger.severe('unexpected upload state');
|
||||
// return null;
|
||||
// }
|
||||
|
||||
return CollectionsService.instance
|
||||
.addToCollection(collectionID, [uploadedFile]).then((aVoid) {
|
||||
return uploadedFile;
|
||||
|
|
Loading…
Add table
Reference in a new issue