Migrate registration state

Follow up to 5223e6e for existing installations that never set this flag.

// FREEBIE
This commit is contained in:
lilia 2016-01-14 10:38:46 -08:00
parent cdd139b44c
commit 6a268f0325

View file

@ -80,6 +80,14 @@
});
});
}
},
{
version: "5.0",
migrate: function(transaction, next) {
if (storage.get("chromiumRegistrationDone") === "") {
storage.put("chromiumRegistrationDoneEver", "");
}
}
}
];
}());