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/policies.js | |
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/policies.js')
-rw-r--r-- | services/sync/modules/policies.js | 3 |
1 files changed, 1 insertions, 2 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; |