Browse Source

remove old code

Signed-off-by: marinofaggiana <marino.faggiana@nextcloud.com>
marinofaggiana 2 years ago
parent
commit
44f464ee16
2 changed files with 0 additions and 2 deletions
  1. 0 1
      iOSClient/AppDelegate.swift
  2. 0 1
      iOSClient/Networking/NCService.swift

+ 0 - 1
iOSClient/AppDelegate.swift

@@ -617,7 +617,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
         _ = NCFunctionCenter.shared
         _ = NCFunctionCenter.shared
 
 
         NCCommunicationCommon.shared.setup(account: account, user: user, userId: userId, password: password, urlBase: urlBase)
         NCCommunicationCommon.shared.setup(account: account, user: user, userId: userId, password: password, urlBase: urlBase)
-        NCCommunicationCommon.shared.setup(webDav: NCUtilityFileSystem.shared.getWebDAV(account: account))
         let serverVersionMajor = NCManageDatabase.shared.getCapabilitiesServerInt(account: account, elements: NCElementsJSON.shared.capabilitiesVersionMajor)
         let serverVersionMajor = NCManageDatabase.shared.getCapabilitiesServerInt(account: account, elements: NCElementsJSON.shared.capabilitiesVersionMajor)
         if serverVersionMajor > 0 {
         if serverVersionMajor > 0 {
             NCCommunicationCommon.shared.setup(nextcloudVersion: serverVersionMajor)
             NCCommunicationCommon.shared.setup(nextcloudVersion: serverVersionMajor)

+ 0 - 1
iOSClient/Networking/NCService.swift

@@ -159,7 +159,6 @@ class NCService: NSObject {
             if serverVersionMajor > 0 {
             if serverVersionMajor > 0 {
                 NCCommunicationCommon.shared.setup(nextcloudVersion: serverVersionMajor)
                 NCCommunicationCommon.shared.setup(nextcloudVersion: serverVersionMajor)
             }
             }
-            NCCommunicationCommon.shared.setup(webDav: NCUtilityFileSystem.shared.getWebDAV(account: account))
 
 
             // Theming
             // Theming
             let themingColorNew = NCManageDatabase.shared.getCapabilitiesServerString(account: account, elements: NCElementsJSON.shared.capabilitiesThemingColor)
             let themingColorNew = NCManageDatabase.shared.getCapabilitiesServerString(account: account, elements: NCElementsJSON.shared.capabilitiesThemingColor)