summaryrefslogtreecommitdiffstats
path: root/webbrowser
diff options
context:
space:
mode:
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) {