Put delete file back

This commit is contained in:
Mario Danic 2017-03-01 12:43:07 +01:00 committed by AndyScherzinger
parent de3fe5e7df
commit 832f2c4733
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -441,6 +441,7 @@ public class UploadFileOperation extends SyncOperation {
} else if (mLocalBehaviour == FileUploader.LOCAL_BEHAVIOUR_DELETE) {
originalFile.delete();
getStorageManager().deleteFileInMediaScan(originalFile.getAbsolutePath());
} else {
mFile.setStoragePath(expectedPath);