OC-2746: Changes from comments in PR#1 in android-library repo
authormasensio <masensio@solidgear.es>
Wed, 29 Jan 2014 09:18:35 +0000 (10:18 +0100)
committermasensio <masensio@solidgear.es>
Wed, 29 Jan 2014 09:18:35 +0000 (10:18 +0100)
src/com/owncloud/android/operations/GetSharesOperation.java

index 77acd32..3b879c0 100644 (file)
@@ -50,7 +50,7 @@ public class GetSharesOperation extends RemoteOperation {
 
     @Override
     protected RemoteOperationResult run(OwnCloudClient client) {
 
     @Override
     protected RemoteOperationResult run(OwnCloudClient client) {
-        GetRemoteSharesOperation operation = new GetRemoteSharesOperation(client.getBaseUri().toString());
+        GetRemoteSharesOperation operation = new GetRemoteSharesOperation();
         RemoteOperationResult result = operation.execute(client);
 
         if (result.isSuccess()) {
         RemoteOperationResult result = operation.execute(client);
 
         if (result.isSuccess()) {