Bug 1195743 - Remove old migration step removing bookmarks-menu-button's persisted class attribute. r=gijs

This commit is contained in:
Dão Gottwald 2015-08-18 20:27:01 +02:00
Родитель e5eea62edc
Коммит 2cf3cac6c4
1 изменённых файлов: 1 добавлений и 10 удалений

Просмотреть файл

@ -1904,10 +1904,7 @@ BrowserGlue.prototype = {
}
if (currentUIVersion < 16) {
let isCollapsed = xulStore.getValue(BROWSER_DOCURL, "nav-bar", "collapsed");
if (isCollapsed == "true") {
xulStore.setValue(BROWSER_DOCURL, "nav-bar", "collapsed", "false");
}
xulStore.removeValue(BROWSER_DOCURL, "nav-bar", "collapsed");
}
// Insert the bookmarks-menu-button into the nav-bar if it isn't already
@ -1967,12 +1964,6 @@ BrowserGlue.prototype = {
xulStore.removeValue(BROWSER_DOCURL, "TabsToolbar", "collapsed");
}
if (currentUIVersion < 21) {
// Make sure the 'toolbarbutton-1' class will always be present from here
// on out.
xulStore.removeValue(BROWSER_DOCURL, "bookmarks-menu-button", "class");
}
if (currentUIVersion < 22) {
// Reset the Sync promobox count to promote the new FxAccount-based Sync.
Services.prefs.clearUserPref("browser.syncPromoViewsLeft");