@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()) {