summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAscrod <32915892+Ascrod@users.noreply.github.com>2018-06-01 15:40:33 -0400
committerAscrod <32915892+Ascrod@users.noreply.github.com>2018-06-01 15:40:33 -0400
commitd38e7b77846e346130acae2fe842dc91b1749556 (patch)
treee71af611fc9251c27f34136b47edd4f97397af24
parent04f7940bc24918a14b0c5fac72d1b60d4497dd0e (diff)
downloadUXP-d38e7b77846e346130acae2fe842dc91b1749556.tar
UXP-d38e7b77846e346130acae2fe842dc91b1749556.tar.gz
UXP-d38e7b77846e346130acae2fe842dc91b1749556.tar.lz
UXP-d38e7b77846e346130acae2fe842dc91b1749556.tar.xz
UXP-d38e7b77846e346130acae2fe842dc91b1749556.zip
Remove unused code from SelfSupportBackend module.
-rw-r--r--browser/modules/SelfSupportBackend.jsm8
1 files changed, 0 insertions, 8 deletions
diff --git a/browser/modules/SelfSupportBackend.jsm b/browser/modules/SelfSupportBackend.jsm
index 0f34d813c..27072732e 100644
--- a/browser/modules/SelfSupportBackend.jsm
+++ b/browser/modules/SelfSupportBackend.jsm
@@ -87,14 +87,6 @@ var SelfSupportBackendInternal = {
this._log.config("init - Disabling SelfSupport because UITour is disabled.");
return;
-
- // Check the preferences to see if we want this to be active.
- if (!Preferences.get(PREF_ENABLED, true)) {
- this._log.config("init - SelfSupport is disabled.");
- return;
- }
-
- Services.obs.addObserver(this, "sessionstore-windows-restored", false);
},
/**