mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
Do not save backup when importing Loop DB
This commit is contained in:
@@ -55,9 +55,6 @@ public class LoopDBImporter extends AbstractImporter
|
||||
{
|
||||
ActiveAndroid.dispose();
|
||||
File originalDB = DatabaseHelper.getDatabaseFile();
|
||||
File backupDir = DatabaseHelper.getFilesDir("Backups");
|
||||
|
||||
DatabaseHelper.saveDatabaseCopy(backupDir);
|
||||
DatabaseHelper.copy(file, originalDB);
|
||||
DatabaseHelper.initializeActiveAndroid();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user