Forráskód Böngészése

remove old code

Signed-off-by: marinofaggiana <marino.faggiana@nextcloud.com>
marinofaggiana 2 éve
szülő
commit
44f464ee16
2 módosított fájl, 0 hozzáadás és 2 törlés
  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
 
         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)
         if serverVersionMajor > 0 {
             NCCommunicationCommon.shared.setup(nextcloudVersion: serverVersionMajor)

+ 0 - 1
iOSClient/Networking/NCService.swift

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