upgrade to 23.1.0 AppCompat and bumping Compile Target to 23 (Android M, needed in...
[pub/Android/ownCloud.git] / src / com / owncloud / android / operations / GetSharesOperation.java
index fe9fd5c..09a8e34 100644 (file)
@@ -43,7 +43,7 @@ public class GetSharesOperation extends SyncOperation {
     @Override
     protected RemoteOperationResult run(OwnCloudClient client) {
         GetRemoteSharesOperation operation = new GetRemoteSharesOperation();
-        RemoteOperationResult result = operation.execute(client, MainApp.getUserAgent());
+        RemoteOperationResult result = operation.execute(client);
 
         if (result.isSuccess()) {