Skip to content

Commit ad40517

Browse files
committed
remove reset folder unlock token since ocupload will be used for each item
Signed-off-by: alperozturk <[email protected]>
1 parent 7733a50 commit ad40517

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

app/src/main/java/com/owncloud/android/operations/UploadFileOperation.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -962,12 +962,6 @@ private RemoteOperationResult cleanupE2EUpload(FileLock fileLock, FileChannel ch
962962
return Unit.INSTANCE;
963963
});
964964
}
965-
966-
// Clear the saved token since folder is now unlocked
967-
mUpload.setFolderUnlockToken(null);
968-
uploadsStorageManager.updateUpload(mUpload);
969-
970-
Log_OC.d(TAG, "Folder unlock token removed");
971965
}
972966

973967
e2eFiles.deleteEncryptedTempFile();

0 commit comments

Comments
 (0)