remove reg date from migration

This commit is contained in:
Kyle Spearrin 2019-06-03 14:08:27 -04:00
parent 4bea105693
commit 3a691977aa

View file

@ -110,10 +110,10 @@ namespace Bit.App.Migration
Log("Migrating 6.8"); Log("Migrating 6.8");
await storageService.SaveAsync(Constants.PushRegisteredTokenKey, await storageService.SaveAsync(Constants.PushRegisteredTokenKey,
settingsShim.GetValueOrDefault("push:registeredToken", null)); settingsShim.GetValueOrDefault("push:registeredToken", null));
Log("Migrating 6.9"); //Log("Migrating 6.9");
var lastReg = settingsShim.GetValueOrDefault("push:lastRegistrationDate", DateTime.MinValue); // var lastReg = settingsShim.GetValueOrDefault("push:lastRegistrationDate", DateTime.MinValue);
Log("Migrating 6.9.1 " + lastReg); //Log("Migrating 6.9.1 " + lastReg);
await storageService.SaveAsync(Constants.PushLastRegistrationDateKey, lastReg); // await storageService.SaveAsync(Constants.PushLastRegistrationDateKey, lastReg);
Log("Migrating 6.10"); Log("Migrating 6.10");
await storageService.SaveAsync("rememberedEmail", await storageService.SaveAsync("rememberedEmail",
settingsShim.GetValueOrDefault("other:lastLoginEmail", null)); settingsShim.GetValueOrDefault("other:lastLoginEmail", null));