add missing result check
authortobiasKaminsky <tobias@kaminsky.me>
Sun, 22 Nov 2015 11:05:09 +0000 (12:05 +0100)
committertobiasKaminsky <tobias@kaminsky.me>
Sun, 22 Nov 2015 11:05:09 +0000 (12:05 +0100)
src/com/owncloud/android/operations/UploadFileOperation.java

index d6466c5..1b4aced 100644 (file)
@@ -325,6 +325,8 @@ public class UploadFileOperation extends RemoteOperation {
                 throw new OperationCancelledException();
             }
 
+            result = mUploadOperation.execute(client);
+
             /// move local temporal file or original file to its corresponding
             // location in the ownCloud local folder
             if (result.isSuccess()) {