Fixed local state of file after a successful reupload
[pub/Android/ownCloud.git] / src / com / owncloud / android / files / FileOperationsHelper.java
index 1c0db87..f88e34b 100644 (file)
@@ -146,7 +146,7 @@ public class FileOperationsHelper {
         
         if (isSharedSupported(callerActivity)) {
             // Unshare the file
-            UnshareLinkOperation unshare = new UnshareLinkOperation(file);
+            UnshareLinkOperation unshare = new UnshareLinkOperation(file, callerActivity);
             unshare.execute(callerActivity.getStorageManager(), 
                     callerActivity, 
                     callerActivity.getRemoteOperationListener(),