marinofaggiana 4 年之前
父节点
当前提交
7899c1d537
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. 1 4
      iOSClient/Networking/NCNetworking.swift

+ 1 - 4
iOSClient/Networking/NCNetworking.swift

@@ -512,10 +512,7 @@ import Queuer
                 #endif
                 
                 NCManageDatabase.sharedInstance.setMetadataSession(ocId: metadata.ocId, session: nil, sessionError: errorDescription, sessionTaskIdentifier: 0, status: Int(k_metadataStatusUploadError))
-                
-                //CCUtility.removeFile(atPath: CCUtility.getDirectoryProviderStorageOcId(metadata.ocId))
-                //NCManageDatabase.sharedInstance.deleteMetadata(predicate: NSPredicate(format: "ocId == %@", metadata.ocId))
-                
+                                
             } else if errorCode == Int(CFNetworkErrors.cfurlErrorServerCertificateUntrusted.rawValue) {
                 
                 CCUtility.setCertificateError(metadata.account, error: true)