Browse Source

change function name

Marino Faggiana 8 years ago
parent
commit
bdefd03019
1 changed files with 2 additions and 2 deletions
  1. 2 2
      iOSClient/FileSystem/NCManageDatabase.swift

+ 2 - 2
iOSClient/FileSystem/NCManageDatabase.swift

@@ -200,7 +200,7 @@ class NCManageDatabase: NSObject {
     }
 
     // getCameraUploadFolderNamePathActiveAccount
-    func getAccountsCameraUploadFolderNamePath(_ account: String, activeUrl : String) -> String {
+    func getAccountsCameraUploadFolderPath(_ account: String, activeUrl : String) -> String {
         
         let cameraFolderName = self.getAccountsCameraUploadFolderName(account, activeUrl: nil)
         let cameraFolderPath = self.getAccountsCameraUploadFolderName(account, activeUrl: activeUrl)
@@ -308,7 +308,7 @@ class NCManageDatabase: NSObject {
         var pathName : String? = pathName
         
         if pathName == nil {
-            pathName = self.getAccountsCameraUploadFolderNamePath(account, activeUrl: activeUrl)
+            pathName = self.getAccountsCameraUploadFolderPath(account, activeUrl: activeUrl)
         }
         
         let results = realm.objects(tableAccount.self).filter("account = %@", account)