Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 27b0308e authored by David A. Velasco's avatar David A. Velasco
Browse files

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

parent 5ac5c808
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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;