[tbb-commits] [tor-browser/tor-browser-68.1.0esr-9.0-2] Revert "Bug 1498378 - Actually remove the old onboarding add-on's prefs r=Gijs"

gk at torproject.org gk at torproject.org
Fri Sep 6 09:46:33 UTC 2019


commit 5d0ffb6cea1e3eca56884f087120f2b40aa2926b
Author: Alex Catarineu <acat at torproject.org>
Date:   Mon Sep 2 12:48:36 2019 +0200

    Revert "Bug 1498378 - Actually remove the old onboarding add-on's prefs r=Gijs"
    
    This reverts commit 057fe36fc6f3e93e265505c7dcc703a0941778e2.
---
 browser/components/BrowserGlue.jsm | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/browser/components/BrowserGlue.jsm b/browser/components/BrowserGlue.jsm
index 7503ca7037e6..a99a29a014ad 100644
--- a/browser/components/BrowserGlue.jsm
+++ b/browser/components/BrowserGlue.jsm
@@ -3086,17 +3086,6 @@ BrowserGlue.prototype = {
       );
     }
 
-    if (currentUIVersion < 76) {
-      // Clear old onboarding prefs from profile (bug 1462415)
-      let onboardingPrefs = Services.prefs.getBranch("browser.onboarding.");
-      if (onboardingPrefs) {
-        let onboardingPrefsArray = onboardingPrefs.getChildList("");
-        for (let item of onboardingPrefsArray) {
-          Services.prefs.clearUserPref("browser.onboarding." + item);
-        }
-      }
-    }
-
     if (currentUIVersion < 77) {
       // Remove currentset from all the toolbars
       let toolbars = [



More information about the tbb-commits mailing list