зеркало из https://github.com/mozilla/gecko-dev.git
Bug 966131 - On first sync set firstSync pref to resetClient instead of calling resetClient directly. r=markh
This commit is contained in:
Родитель
ab6595d56f
Коммит
0fc62dc3fc
|
@ -136,7 +136,7 @@ this.BrowserIDManager.prototype = {
|
|||
this._log.info("Background fetch for key bundle done");
|
||||
if (isInitialSync) {
|
||||
this._log.info("Doing initial sync actions");
|
||||
Weave.Service.resetClient();
|
||||
Svc.Prefs.set("firstSync", "resetClient");
|
||||
Services.obs.notifyObservers(null, "weave:service:setup-complete", null);
|
||||
Weave.Utils.nextTick(Weave.Service.sync, Weave.Service);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче