File tree Expand file tree Collapse file tree
app/src/main/java/com/owncloud/android/operations Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -186,20 +186,10 @@ protected RemoteOperationResult run(OwnCloudClient client) {
186186 mTransferWasRequested = false ;
187187
188188 if (mLocalFile == null ) {
189- if (mRemotePath == null ) {
190- Log_OC .e (TAG , "Cannot synchronize file: remotePath is null" );
191- return new RemoteOperationResult <>(ResultCode .FILE_NOT_FOUND );
192- }
193-
194189 // Get local file from the DB
195190 mLocalFile = getStorageManager ().getFileByPath (mRemotePath );
196191 }
197192
198- if (mLocalFile == null ) {
199- Log_OC .e (TAG , "Cannot synchronize file: local file not found in database for path: " + mRemotePath );
200- return new RemoteOperationResult (ResultCode .FILE_NOT_FOUND );
201- }
202-
203193 if (!mLocalFile .isDown ()) {
204194 /// easy decision
205195 requestForDownload (mLocalFile );
You can’t perform that action at this time.
0 commit comments