mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 21:55:48 +03:00
Fix saveSharesDB, duplicated rows
This commit is contained in:
parent
b3dc5f477c
commit
fdcf0ebbc8
1 changed files with 2 additions and 2 deletions
|
@ -1348,9 +1348,9 @@ public class FileDataStorageManager {
|
|||
String filePath = "";
|
||||
for (OCShare share: shares) {
|
||||
if (filePath != share.getPath()){
|
||||
filePath = share.getPath();
|
||||
resetShareFlagInAFile(filePath);
|
||||
operations = prepareRemoveSharesInFile(filePath, operations);
|
||||
filePath = share.getPath();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1453,7 +1453,7 @@ public class FileDataStorageManager {
|
|||
Log_OC.e(TAG, "Exception in batch of operations " + e.getMessage());
|
||||
|
||||
} catch (RemoteException e) {
|
||||
Log_OC.e(TAG, "Exception in batch of operations " + e.getMessage());
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue