Commit 6250b761 authored by Alex Catarineu's avatar Alex Catarineu Committed by Matthew Finkel
Browse files

Revert "Bug 1498378 - Actually remove the old onboarding add-on's prefs r=Gijs"

This reverts commit 057fe36f.
parent 897c6b07
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -3092,17 +3092,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 = [