1
0
mirror of https://github.com/owncloud/android-library.git synced 2025-06-07 16:06:08 +00:00

//This extra check is unnecessary after https://github.com/owncloud/core/pull/14505

This commit is contained in:
David A. Velasco 2015-09-01 16:01:41 +02:00
parent 5ac5c80809
commit 27b0308e06

View File

@ -105,10 +105,6 @@ public class CopyRemoteFileOperation extends RemoteOperation {
return new RemoteOperationResult(ResultCode.INVALID_COPY_INTO_DESCENDANT);
}
if (new ExistenceCheckRemoteOperation(mSrcRemotePath, true).run(getClient()).isSuccess()) {
return new RemoteOperationResult(ResultCode.FILE_NOT_FOUND);
}
/// perform remote operation
CopyMethod copyMethod = null;
RemoteOperationResult result = null;