From 83bdb7892d1ffa1a929db95bdb4ecc3f69a27b50 Mon Sep 17 00:00:00 2001 From: Thomas Groman Date: Mon, 20 Apr 2020 22:53:22 -0700 Subject: Removed config converter from UIversion <2 as the profile directly was switched abd stablized after that change --- webbrowser/components/nsBrowserGlue.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/webbrowser/components/nsBrowserGlue.js b/webbrowser/components/nsBrowserGlue.js index b4f7cf1..ab6f9ed 100644 --- a/webbrowser/components/nsBrowserGlue.js +++ b/webbrowser/components/nsBrowserGlue.js @@ -1211,19 +1211,6 @@ BrowserGlue.prototype = { this._dataSource = this._rdf.GetDataSource("rdf:local-store"); this._dirty = false; - if (currentUIVersion < 2) { - // This code adds the customizable bookmarks button. - let currentsetResource = this._rdf.GetResource("currentset"); - let toolbarResource = this._rdf.GetResource(BROWSER_DOCURL + "nav-bar"); - let currentset = this._getPersist(toolbarResource, currentsetResource); - // Need to migrate only if toolbar is customized and the element is not found. - if (currentset && - currentset.indexOf("bookmarks-menu-button-container") == -1) { - currentset += ",bookmarks-menu-button-container"; - this._setPersist(toolbarResource, currentsetResource, currentset); - } - } - #ifndef MOZ_JXR // Until JPEG-XR decoder is implemented (UXP #144) if (currentUIVersion < 19) { -- cgit v1.2.3