diff --git a/mail/components/preferences/advanced.js b/mail/components/preferences/advanced.js index e3ce71fb81f8..ce48c6ce08bf 100644 --- a/mail/components/preferences/advanced.js +++ b/mail/components/preferences/advanced.js @@ -188,31 +188,6 @@ var gAdvancedPane = { return !warnIncompatible.checked ? 0 : gAdvancedPane._modePreference; }, - checkForAddonUpdates: function () - { - var wm = - Components.classes["@mozilla.org/appshell/window-mediator;1"]. - getService(Components.interfaces.nsIWindowMediator); - var manager = wm.getMostRecentWindow("Extension:Manager-extensions"); - if (!manager) { - const features = "chrome,dialog=no,resizable"; - const URI_EXTENSIONS_WINDOW = - "chrome://mozapps/content/extensions/extensions.xul?type=extensions"; - openDialog(URI_EXTENSIONS_WINDOW, "", features, "updatecheck"); - } - else { - manager.performUpdate(); - manager.focus(); - } - }, - - checkForUpdates: function () - { - var prompter = Components.classes["@mozilla.org/updates/update-prompt;1"] - .createInstance(Components.interfaces.nsIUpdatePrompt); - prompter.checkForUpdates(); - }, - showUpdates: function () { var prompter = Components.classes["@mozilla.org/updates/update-prompt;1"] diff --git a/mail/components/preferences/advanced.xul b/mail/components/preferences/advanced.xul index 6f9232e01d84..149495044f98 100644 --- a/mail/components/preferences/advanced.xul +++ b/mail/components/preferences/advanced.xul @@ -45,7 +45,10 @@ - +