Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: tobiasKaminsky <[email protected]>
  • Loading branch information
tobiasKaminsky authored and AndyScherzinger committed Nov 2, 2023
1 parent b8463a2 commit 8d20f12
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ class FilesUploadWorker(
val user = userAccountManager.getUser(accountName)

val factory = OwnCloudClientManagerFactory.getDefaultSingleton()


for (upload in uploads) {
// create upload file operation
Expand All @@ -118,13 +117,13 @@ class FilesUploadWorker(

if (userInfo.isSuccess) {
val free = userInfo.resultData.quota?.free ?: -1L

if (free == -1L || free <= upload.fileSize) {
continue
}
}
}

val uploadFileOperation = createUploadFileOperation(upload, user.get())

val result = upload(uploadFileOperation, user.get())
Expand Down

0 comments on commit 8d20f12

Please sign in to comment.