marinofaggiana 6 éve
szülő
commit
b6d3b4db4b
1 módosított fájl, 1 hozzáadás és 4 törlés
  1. 1 4
      iOSClient/Database/NCManageDatabase.swift

+ 1 - 4
iOSClient/Database/NCManageDatabase.swift

@@ -84,10 +84,7 @@ class NCManageDatabase: NSObject {
         
         // Encrypting the database file on disk with AES-256+SHA2 by supplying a 64-byte encryption key
         configCompact.encryptionKey = CCUtility.getDatabaseEncryptionKey()
-        //if let keyData = NCBrandOptions.sharedInstance.databaseEncryptionKey.data(using: String.Encoding.utf8, allowLossyConversion: false) {
-        //    configCompact.encryptionKey = keyData
-        //}
-        
+    
         do {
             _ = try Realm(configuration: configCompact)
         } catch let error {