diff options
author | marinofaggiana <marino@marinofaggiana.com> | 2020-08-14 15:56:04 +0300 |
---|---|---|
committer | marinofaggiana <marino@marinofaggiana.com> | 2020-08-14 15:56:04 +0300 |
commit | e087266681c134d06c48cda91325f188f9affc43 (patch) | |
tree | 4f8674d0adc1550cdaeed061962f44e3767617ee /Share | |
parent | 8d6df7e7d2b3359c0731b55f283249b4ee215e0a (diff) |
normalized
Diffstat (limited to 'Share')
-rw-r--r-- | Share/ShareViewController.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Share/ShareViewController.m b/Share/ShareViewController.m index f44dfb36e..a32cda5ad 100644 --- a/Share/ShareViewController.m +++ b/Share/ShareViewController.m @@ -62,10 +62,10 @@ } else { NSInteger serverVersionMajor = [[NCManageDatabase sharedInstance] getCapabilitiesServerIntWithAccount:tableAccount.account elements:NCElementsJSON.shared.capabilitiesVersionMajor]; - NSString *webDavRoot = [[NCManageDatabase sharedInstance] getCapabilitiesServerStringWithAccount:tableAccount.account elements:NCElementsJSON.shared.capabilitiesWebDavRoot]; + NSString *webDav = [[NCUtility shared] getWebDAVWithAccount:tableAccount.account]; // Networking - [[NCCommunicationCommon shared] setupWithAccount:tableAccount.account user:tableAccount.user userId:tableAccount.userID password:[CCUtility getPassword:tableAccount.account] urlBase:tableAccount.urlBase userAgent:[CCUtility getUserAgent] capabilitiesGroup:[NCBrandOptions sharedInstance].capabilitiesGroups webDavRoot:webDavRoot davRoot:nil nextcloudVersion:serverVersionMajor delegate:[NCNetworking shared]]; + [[NCCommunicationCommon shared] setupWithAccount:tableAccount.account user:tableAccount.user userId:tableAccount.userID password:[CCUtility getPassword:tableAccount.account] urlBase:tableAccount.urlBase userAgent:[CCUtility getUserAgent] capabilitiesGroup:[NCBrandOptions sharedInstance].capabilitiesGroups webDav:webDav dav:nil nextcloudVersion:serverVersionMajor delegate:[NCNetworking shared]]; _account = tableAccount.account; _urlBase = tableAccount.urlBase; |