Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Commit 1194b9a

Browse files
committed
Use the same ownCloudClient across the whole login process
1 parent 2a23a1c commit 1194b9a

File tree

1 file changed

+0
-6
lines changed
  • owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/status/services/implementation

1 file changed

+0
-6
lines changed

owncloudComLibrary/src/main/java/com/owncloud/android/lib/resources/status/services/implementation/OCServerInfoService.kt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,4 @@ class OCServerInfoService : ServerInfoService {
4343
client: OwnCloudClient
4444
): RemoteOperationResult<OwnCloudVersion> =
4545
GetRemoteStatusOperation().execute(client)
46-
47-
private fun createClientFromPath(path: String): OwnCloudClient {
48-
val client = OwnCloudClient(Uri.parse(path)).apply { credentials = getAnonymousCredentials() }
49-
OwnCloudClientFactory.retriveCookisFromMiddleware(client)
50-
return client
51-
}
5246
}

0 commit comments

Comments
 (0)