diff --git a/owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/status/services/implementation/OCServerInfoService.kt b/owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/status/services/implementation/OCServerInfoService.kt index e1250d84..65b85479 100644 --- a/owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/status/services/implementation/OCServerInfoService.kt +++ b/owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/status/services/implementation/OCServerInfoService.kt @@ -43,10 +43,4 @@ class OCServerInfoService : ServerInfoService { client: OwnCloudClient ): RemoteOperationResult = GetRemoteStatusOperation().execute(client) - - private fun createClientFromPath(path: String): OwnCloudClient { - val client = OwnCloudClient(Uri.parse(path)).apply { credentials = getAnonymousCredentials() } - OwnCloudClientFactory.retriveCookisFromMiddleware(client) - return client - } }