Bug 564365 - canceling setup, then setting up Weave, doesn't set firstrun pref, causing problems later, r=mardak

This commit is contained in:
Mike Connor 2010-05-07 16:16:37 -04:00
parent bc21135d53
commit e670005eb2

View File

@ -635,6 +635,8 @@ WeaveSvc.prototype = {
this.resetClient();
// Reset Weave prefs
Svc.Prefs.resetBranch("");
// set lastversion pref
Svc.Prefs.set("lastversion", WEAVE_VERSION);
// Find weave logins and remove them.
Svc.Login.findLogins({}, PWDMGR_HOST, "", "").map(function(login) {
Svc.Login.removeLogin(login);