summaryrefslogtreecommitdiffstats
path: root/webbrowser
diff options
context:
space:
mode:
authorThomas Groman <tgroman@nuegia.net>2020-04-20 22:53:22 -0700
committerThomas Groman <tgroman@nuegia.net>2020-04-20 22:53:22 -0700
commit83bdb7892d1ffa1a929db95bdb4ecc3f69a27b50 (patch)
tree7550e8f57bb138cdac53350cd95b126326fbce62 /webbrowser
parent6b09b252c8ea277a3f006a319c5d836a18f096ea (diff)
downloadwebbrowser-83bdb7892d1ffa1a929db95bdb4ecc3f69a27b50.tar
webbrowser-83bdb7892d1ffa1a929db95bdb4ecc3f69a27b50.tar.gz
webbrowser-83bdb7892d1ffa1a929db95bdb4ecc3f69a27b50.tar.lz
webbrowser-83bdb7892d1ffa1a929db95bdb4ecc3f69a27b50.tar.xz
webbrowser-83bdb7892d1ffa1a929db95bdb4ecc3f69a27b50.zip
Removed config converter from UIversion <2 as the profile directly was switched abd stablized after that change
Diffstat (limited to 'webbrowser')
-rw-r--r--webbrowser/components/nsBrowserGlue.js13
1 files changed, 0 insertions, 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) {