Migrate registration state
Follow up to 5223e6e
for existing installations that never set this flag.
// FREEBIE
This commit is contained in:
parent
cdd139b44c
commit
6a268f0325
1 changed files with 8 additions and 0 deletions
|
@ -80,6 +80,14 @@
|
|||
});
|
||||
});
|
||||
}
|
||||
},
|
||||
{
|
||||
version: "5.0",
|
||||
migrate: function(transaction, next) {
|
||||
if (storage.get("chromiumRegistrationDone") === "") {
|
||||
storage.put("chromiumRegistrationDoneEver", "");
|
||||
}
|
||||
}
|
||||
}
|
||||
];
|
||||
}());
|
||||
|
|
Loading…
Reference in a new issue