From 6a268f0325c54192268e1ffa900dfd3c12f682d9 Mon Sep 17 00:00:00 2001 From: lilia Date: Thu, 14 Jan 2016 10:38:46 -0800 Subject: [PATCH] Migrate registration state Follow up to 5223e6e for existing installations that never set this flag. // FREEBIE --- js/database.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/js/database.js b/js/database.js index 6298a628290b..cd6c9873d613 100644 --- a/js/database.js +++ b/js/database.js @@ -80,6 +80,14 @@ }); }); } + }, + { + version: "5.0", + migrate: function(transaction, next) { + if (storage.get("chromiumRegistrationDone") === "") { + storage.put("chromiumRegistrationDoneEver", ""); + } + } } ]; }());