Marino Faggiana 7 years ago
parent
commit
4115252aa4
1 changed files with 2 additions and 3 deletions
  1. 2 3
      iOSClient/Database/NCManageDatabase.swift

+ 2 - 3
iOSClient/Database/NCManageDatabase.swift

@@ -1884,7 +1884,6 @@ class NCManageDatabase: NSObject {
     }
     }
     */
     */
     
     
-    
     //MARK: -
     //MARK: -
     //MARK: Table Photo Library
     //MARK: Table Photo Library
     
     
@@ -1895,8 +1894,8 @@ class NCManageDatabase: NSObject {
         do {
         do {
             try realm.write {
             try realm.write {
                 
                 
-                for tablePhotoLibrary in photosVideos {
-                    realm.add(tablePhotoLibrary, update: true)
+                for table in photosVideos {
+                    realm.add(table, update: true)
                 }
                 }
             }
             }
         } catch let error {
         } catch let error {