|
@@ -180,7 +180,7 @@ class NCService: NSObject {
|
|
|
// File Sharing
|
|
|
let isFilesSharingEnabled = NCManageDatabase.shared.getCapabilitiesServerBool(account: account, elements: NCElementsJSON.shared.capabilitiesFileSharingApiEnabled, exists: false)
|
|
|
if isFilesSharingEnabled {
|
|
|
- NCCommunication.shared.readShares(queue: NCCommunicationCommon.shared.backgroundQueue) { (account, shares, errorCode, ErrorDescription) in
|
|
|
+ NCCommunication.shared.readShares(parameters: NCCShareParameter(), queue: NCCommunicationCommon.shared.backgroundQueue) { (account, shares, errorCode, ErrorDescription) in
|
|
|
if errorCode == 0 {
|
|
|
NCManageDatabase.shared.deleteTableShare(account: account)
|
|
|
if shares != nil {
|