Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/ios.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarino Faggiana <marino@marinofaggiana.com>2022-11-10 11:32:41 +0300
committerMarino Faggiana <marino@marinofaggiana.com>2022-11-10 11:32:41 +0300
commitfcff3f91a42d1e5cef8b3a779931b0dd1e931e3d (patch)
tree01edf11c981ceb7a9aa7eb547aec0388b9fc60a8
parentfe5f037a83ef8f3c3752be61bb819ca924aa43ce (diff)
fix createFolder asset
Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
-rw-r--r--iOSClient/Networking/NCNetworking.swift14
1 files changed, 0 insertions, 14 deletions
diff --git a/iOSClient/Networking/NCNetworking.swift b/iOSClient/Networking/NCNetworking.swift
index e891bd1fa..7ba9f0532 100644
--- a/iOSClient/Networking/NCNetworking.swift
+++ b/iOSClient/Networking/NCNetworking.swift
@@ -1036,20 +1036,6 @@ import Photos
return result
}
- private func createFolderWithSemaphore(fileName: String, serverUrl: String, account: String, urlBase: String, userId: String) -> Bool {
-
- var result: Bool = false
- let semaphore = DispatchSemaphore(value: 0)
-
- NCNetworking.shared.createFolder(fileName: fileName, serverUrl: serverUrl, account: account, urlBase: urlBase, userId: userId, overwrite: true) { error in
- if error == .success { result = true }
- semaphore.signal()
- }
- semaphore.wait()
-
- return result
- }
-
func createNameSubFolder(assets: [PHAsset]) -> [String] {
var datesSubFolder: [String] = []