mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Remove dead code
This commit is contained in:
@@ -94,8 +94,6 @@ internal sealed class BotDatabase : SerializableFile {
|
||||
[JsonProperty(PropertyName = $"_{nameof(MobileAuthenticator)}")]
|
||||
private MobileAuthenticator? BackingMobileAuthenticator;
|
||||
|
||||
private bool SaveNeededDueToMigration;
|
||||
|
||||
private BotDatabase(string filePath) {
|
||||
if (string.IsNullOrEmpty(filePath)) {
|
||||
throw new ArgumentNullException(nameof(filePath));
|
||||
@@ -203,12 +201,6 @@ internal sealed class BotDatabase : SerializableFile {
|
||||
|
||||
botDatabase.FilePath = filePath;
|
||||
|
||||
if (botDatabase.SaveNeededDueToMigration) {
|
||||
botDatabase.SaveNeededDueToMigration = false;
|
||||
|
||||
Utilities.InBackground(botDatabase.Save);
|
||||
}
|
||||
|
||||
return botDatabase;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user