X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/06d5cc94778ee4fe5ec49cd9061c039283ea7cdc..5ca1b94865fcb868c44fe11df01ba17d33673b17:/src/com/owncloud/android/operations/GetServerInfoOperation.java diff --git a/src/com/owncloud/android/operations/GetServerInfoOperation.java b/src/com/owncloud/android/operations/GetServerInfoOperation.java index 712e7d5c..8e911000 100644 --- a/src/com/owncloud/android/operations/GetServerInfoOperation.java +++ b/src/com/owncloud/android/operations/GetServerInfoOperation.java @@ -79,7 +79,7 @@ public class GetServerInfoOperation extends RemoteOperation { // first: check the status of the server (including its version) GetRemoteStatusOperation getStatus = new GetRemoteStatusOperation(mContext); - RemoteOperationResult result = getStatus.execute(client, MainApp.getUserAgent()); + RemoteOperationResult result = getStatus.execute(client); if (result.isSuccess()) { // second: get authentication method required by the server @@ -107,7 +107,7 @@ public class GetServerInfoOperation extends RemoteOperation { Log_OC.d(TAG, "Trying empty authorization to detect authentication method"); DetectAuthenticationMethodOperation operation = new DetectAuthenticationMethodOperation(mContext); - return operation.execute(client, MainApp.getUserAgent()); + return operation.execute(client); }