|
@@ -533,9 +533,9 @@ class NCUtility: NSObject {
|
|
|
return image ?? UIImage()
|
|
|
}
|
|
|
|
|
|
- @objc func deleteAssetLocalIdentifiers(account: String) {
|
|
|
+ @objc func deleteAssetLocalIdentifiers(account: String, sessionSelector: String) {
|
|
|
|
|
|
- let localIdentifiers = NCManageDatabase.sharedInstance.getAssetLocalIdentifiersUploaded(account: account)
|
|
|
+ let localIdentifiers = NCManageDatabase.sharedInstance.getAssetLocalIdentifiersUploaded(account: account, sessionSelector: sessionSelector)
|
|
|
if localIdentifiers.count == 0 { return }
|
|
|
let assets = PHAsset.fetchAssets(withLocalIdentifiers: localIdentifiers, options: nil)
|
|
|
|