|
@@ -48,14 +48,10 @@ public class UpdateShareViaLinkOperation extends SyncOperation {
|
|
|
* @param path Full path of the file/folder being shared. Mandatory argument
|
|
|
*/
|
|
|
public UpdateShareViaLinkOperation(String path) {
|
|
|
-
|
|
|
mPath = path;
|
|
|
- mPassword = null;
|
|
|
mExpirationDateInMillis = 0;
|
|
|
- mPublicUpload = null;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* Set password to update in public link.
|
|
|
*
|
|
@@ -67,7 +63,6 @@ public class UpdateShareViaLinkOperation extends SyncOperation {
|
|
|
mPassword = password;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
/**
|
|
|
* Set expiration date to update in Share resource.
|
|
|
*
|
|
@@ -90,7 +85,6 @@ public class UpdateShareViaLinkOperation extends SyncOperation {
|
|
|
mPublicUpload = publicUpload;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
@Override
|
|
|
protected RemoteOperationResult run(OwnCloudClient client) {
|
|
|
|
|
@@ -157,6 +151,5 @@ public class UpdateShareViaLinkOperation extends SyncOperation {
|
|
|
getStorageManager().saveFile(file);
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
}
|
|
|
|