CB-9969 Filetransfer upload error deletes original file

Reverts iOS changes
This commit is contained in:
daserge
2015-11-27 10:53:34 +03:00
parent 3ae73a2879
commit 6e960b2ffd
+1 -3
View File
@@ -631,9 +631,7 @@ static CFIndex WriteDataToStream(NSData* data, CFWriteStreamRef stream)
delegate.backgroundTaskID = UIBackgroundTaskInvalid;
}
if (self.direction == CDV_TRANSFER_DOWNLOAD) {
[self removeTargetFile];
}
[self removeTargetFile];
}
- (void)cancelTransferWithError:(NSURLConnection*)connection errorMessage:(NSString*)errorMessage