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:
parent
5ac5c80809
commit
27b0308e06
@ -105,10 +105,6 @@ public class CopyRemoteFileOperation extends RemoteOperation {
|
|||||||
return new RemoteOperationResult(ResultCode.INVALID_COPY_INTO_DESCENDANT);
|
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
|
/// perform remote operation
|
||||||
CopyMethod copyMethod = null;
|
CopyMethod copyMethod = null;
|
||||||
RemoteOperationResult result = null;
|
RemoteOperationResult result = null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user