diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-03-13 09:50:54 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-03-13 09:50:54 +0100 |
commit | 4c431486433428b18610c3578b693f3e1f1136eb (patch) | |
tree | 671b9cb9dc4c1abb5cd3525ca35beff2c762fc66 /application/basilisk/base/content/browser-syncui.js | |
parent | bf0413359245579e9509146d42cd5547e35da695 (diff) | |
download | UXP-4c431486433428b18610c3578b693f3e1f1136eb.tar UXP-4c431486433428b18610c3578b693f3e1f1136eb.tar.gz UXP-4c431486433428b18610c3578b693f3e1f1136eb.tar.lz UXP-4c431486433428b18610c3578b693f3e1f1136eb.tar.xz UXP-4c431486433428b18610c3578b693f3e1f1136eb.zip |
Remove CloudSync
Tag #812
Diffstat (limited to 'application/basilisk/base/content/browser-syncui.js')
-rw-r--r-- | application/basilisk/base/content/browser-syncui.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/application/basilisk/base/content/browser-syncui.js b/application/basilisk/base/content/browser-syncui.js index 3a57140f2..000c8f7b4 100644 --- a/application/basilisk/base/content/browser-syncui.js +++ b/application/basilisk/base/content/browser-syncui.js @@ -4,11 +4,6 @@ Cu.import("resource://gre/modules/XPCOMUtils.jsm"); -#ifdef MOZ_SERVICES_CLOUDSYNC -XPCOMUtils.defineLazyModuleGetter(this, "CloudSync", - "resource://gre/modules/CloudSync.jsm"); -#endif - XPCOMUtils.defineLazyModuleGetter(this, "fxAccounts", "resource://gre/modules/FxAccounts.jsm"); @@ -171,13 +166,7 @@ var gSyncUI = { document.getElementById("sync-setup-state").hidden = true; document.getElementById("sync-syncnow-state").hidden = true; -#ifdef MOZ_SERVICES_CLOUDSYNC - if (CloudSync && CloudSync.ready && CloudSync().adapters.count) { - document.getElementById("sync-syncnow-state").hidden = false; - } else if (loginFailed) { -#else if (loginFailed) { -#endif // unhiding this element makes the menubar show the login failure state. document.getElementById("sync-reauth-state").hidden = false; } else if (needsSetup) { |