summaryrefslogtreecommitdiffstats
path: root/services/sync/modules
diff options
context:
space:
mode:
Diffstat (limited to 'services/sync/modules')
-rw-r--r--services/sync/modules/policies.js3
-rw-r--r--services/sync/modules/status.js2
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();