summaryrefslogtreecommitdiff
path: root/services/sync/Weave.js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-11-30 11:15:22 +0100
committerwolfbeast <mcwerewolf@gmail.com>2018-11-30 11:15:22 +0100
commit9c966a087fa5bf5e8f9a264234f4e4dfecbd6768 (patch)
tree83f1012aaabbc80eeda5826f70f482c92739108f /services/sync/Weave.js
parentc11450651f60b3d4f85ed897a646287b2f9b8db9 (diff)
downloaduxp-9c966a087fa5bf5e8f9a264234f4e4dfecbd6768.tar.gz
Remove fxAccountsEnabled()
Diffstat (limited to 'services/sync/Weave.js')
-rw-r--r--services/sync/Weave.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/services/sync/Weave.js b/services/sync/Weave.js
index ff97c2edd7..5bafa07ad3 100644
--- a/services/sync/Weave.js
+++ b/services/sync/Weave.js
@@ -93,29 +93,6 @@ WeaveService.prototype = {
},
/**
- * Whether Firefox Accounts is enabled.
- *
- * @return bool
- *
- * This function is currently always returning false because we don't support
- * the use of FxA/Sync-1.5 but do want to keep the code "just in case".
- */
- get fxAccountsEnabled() {
- // Early exit: FxA not supported.
- return false;
-/* -- commented out to prevent unreachable code warning --
- try {
- // Old sync guarantees '@' will never appear in the username while FxA
- // uses the FxA email address - so '@' is the flag we use.
- let username = Services.prefs.getCharPref(SYNC_PREFS_BRANCH + "username");
- return !username || username.includes('@');
- } catch (_) {
- return true; // No username == only allow FxA to be configured.
- }
-*/
- },
-
- /**
* Whether Sync appears to be enabled.
*
* This returns true if all the Sync preferences for storing account