mirror of
https://github.com/ankidroid/Anki-Android.git
synced 2024-09-20 12:02:16 +02:00
Remove unrequired colleciton reopen in import-replace
The call does not actually accomplish anything so it is not needed. For some reason, calling this method was resulting in a corrupt database the import completed.
This commit is contained in:
parent
d59cd020c0
commit
4ba650c7dd
@ -821,7 +821,6 @@ public class DeckTask extends BaseAsyncTask<DeckTask.TaskData, DeckTask.TaskData
|
||||
}
|
||||
int addedCount = -1;
|
||||
try {
|
||||
col.reopen();
|
||||
CollectionHelper.getInstance().unlockCollection();
|
||||
|
||||
// because users don't have a backup of media, it's safer to import new
|
||||
|
Loading…
Reference in New Issue
Block a user