diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-03-13 16:36:55 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-03-13 16:36:55 +0100 |
commit | f999f544aad04069b03704d994a99352263f600b (patch) | |
tree | ccb01180c10cbd67a14bccce4c3e14e2044ad463 /application/basilisk/base/content/sync | |
parent | aa1a39311af0516dd6d2610a89b45221b60f3f20 (diff) | |
download | UXP-f999f544aad04069b03704d994a99352263f600b.tar UXP-f999f544aad04069b03704d994a99352263f600b.tar.gz UXP-f999f544aad04069b03704d994a99352263f600b.tar.lz UXP-f999f544aad04069b03704d994a99352263f600b.tar.xz UXP-f999f544aad04069b03704d994a99352263f600b.zip |
Remove fxAccountsEnabled checks.
Tag #812
Diffstat (limited to 'application/basilisk/base/content/sync')
-rw-r--r-- | application/basilisk/base/content/sync/utils.js | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/application/basilisk/base/content/sync/utils.js b/application/basilisk/base/content/sync/utils.js index 92981f7b4..1422c1d15 100644 --- a/application/basilisk/base/content/sync/utils.js +++ b/application/basilisk/base/content/sync/utils.js @@ -14,13 +14,6 @@ var gSyncUtils = { return this.bundle = Services.strings.createBundle("chrome://browser/locale/syncSetup.properties"); }, - get fxAccountsEnabled() { - let service = Components.classes["@mozilla.org/weave/service;1"] - .getService(Components.interfaces.nsISupports) - .wrappedJSObject; - return service.fxAccountsEnabled; - }, - // opens in a new window if we're in a modal prefwindow world, in a new tab otherwise _openLink: function (url) { let thisDocEl = document.documentElement, @@ -78,8 +71,7 @@ var gSyncUtils = { }, get tosURL() { - let root = this.fxAccountsEnabled ? "fxa." : ""; - return Weave.Svc.Prefs.get(root + "termsURL"); + return Weave.Svc.Prefs.get("termsURL"); }, openToS: function () { @@ -87,8 +79,7 @@ var gSyncUtils = { }, get privacyPolicyURL() { - let root = this.fxAccountsEnabled ? "fxa." : ""; - return Weave.Svc.Prefs.get(root + "privacyURL"); + return Weave.Svc.Prefs.get("privacyURL"); }, openPrivacyPolicy: function () { |