Fixed db move command clearing the wrong database

Affects issues:
- Fixed #1602
This commit is contained in:
Risto Lahtela 2020-10-25 21:40:11 +02:00
parent 89abdae4c8
commit fedf8a953a

View File

@ -255,7 +255,7 @@ public class DatabaseCommands {
sender.send(locale.getString(CommandLang.DB_WRITE, toDB.getName()));
fromDatabase.executeTransaction(new BackupCopyTransaction(fromDatabase, toDatabase)).get();
toDatabase.executeTransaction(new BackupCopyTransaction(fromDatabase, toDatabase)).get();
sender.send(locale.getString(CommandLang.PROGRESS_SUCCESS));