diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-11-30 11:15:22 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-11-30 11:15:22 +0100 |
commit | 9c966a087fa5bf5e8f9a264234f4e4dfecbd6768 (patch) | |
tree | 83f1012aaabbc80eeda5826f70f482c92739108f /services/sync/modules | |
parent | c11450651f60b3d4f85ed897a646287b2f9b8db9 (diff) | |
download | UXP-9c966a087fa5bf5e8f9a264234f4e4dfecbd6768.tar UXP-9c966a087fa5bf5e8f9a264234f4e4dfecbd6768.tar.gz UXP-9c966a087fa5bf5e8f9a264234f4e4dfecbd6768.tar.lz UXP-9c966a087fa5bf5e8f9a264234f4e4dfecbd6768.tar.xz UXP-9c966a087fa5bf5e8f9a264234f4e4dfecbd6768.zip |
Remove fxAccountsEnabled()
Diffstat (limited to 'services/sync/modules')
-rw-r--r-- | services/sync/modules/policies.js | 3 | ||||
-rw-r--r-- | services/sync/modules/status.js | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/services/sync/modules/policies.js b/services/sync/modules/policies.js index 7a6c70445..2d85b1428 100644 --- a/services/sync/modules/policies.js +++ b/services/sync/modules/policies.js @@ -43,8 +43,7 @@ SyncScheduler.prototype = { .getService(Ci.nsISupports) .wrappedJSObject; - let part = service.fxAccountsEnabled ? "fxa" : "sync11"; - let prefSDInterval = "scheduler." + part + ".singleDeviceInterval"; + let prefSDInterval = "scheduler.sync11.singleDeviceInterval"; this.singleDeviceInterval = Svc.Prefs.get(prefSDInterval) * 1000; this.idleInterval = Svc.Prefs.get("scheduler.idleInterval") * 1000; diff --git a/services/sync/modules/status.js b/services/sync/modules/status.js index 4b26f62bd..6d12d6711 100644 --- a/services/sync/modules/status.js +++ b/services/sync/modules/status.js @@ -28,7 +28,7 @@ this.Status = { let service = Components.classes["@mozilla.org/weave/service;1"] .getService(Components.interfaces.nsISupports) .wrappedJSObject; - let idClass = service.fxAccountsEnabled ? BrowserIDManager : IdentityManager; + let idClass = IdentityManager; this.__authManager = new idClass(); // .initialize returns a promise, so we need to spin until it resolves. let cb = Async.makeSpinningCallback(); |