marinofaggiana 4 жил өмнө
parent
commit
7899c1d537

+ 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)