mirror of
https://github.com/owncloud/android-library.git
synced 2026-08-22 22:03:00 +00:00
//This extra check is unnecessary after https://github.com/owncloud/core/pull/14505
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user