summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-12-05 17:44:48 -0500
committerMatt A. Tobin <email@mattatobin.com>2018-12-05 17:44:48 -0500
commitb2d2adadb1496401bbbb8590f02ae65d8c0cd0f3 (patch)
treefe4aac678a0bb5be2e89d931d0a49035b874258f /mail
parente4a213a4dbbd6c51f988bc36499c0ebd00635a04 (diff)
downloadaura-central-b2d2adadb1496401bbbb8590f02ae65d8c0cd0f3.tar.gz
[MAIL] Remove What's new menu item and code that pops up What's new on upgrade which won't trigger anyway because of how versions are done for Interlink
Diffstat (limited to 'mail')
-rw-r--r--mail/base/content/baseMenuOverlay.xul3
-rw-r--r--mail/base/content/mailWindowOverlay.xul3
-rw-r--r--mail/base/content/specialTabs.js8
-rw-r--r--mail/locales/en-US/chrome/messenger/baseMenuOverlay.dtd2
4 files changed, 0 insertions, 16 deletions
diff --git a/mail/base/content/baseMenuOverlay.xul b/mail/base/content/baseMenuOverlay.xul
index be9c87de1..addbae5d9 100644
--- a/mail/base/content/baseMenuOverlay.xul
+++ b/mail/base/content/baseMenuOverlay.xul
@@ -40,9 +40,6 @@
oncommand="openSupportURL();"
key="key_openHelp"/>
#endif
- <menuitem id="whatsNew"
- label="&whatsNewCmd.label;" accesskey="&whatsNewCmd.accesskey;"
- oncommand="openWhatsNew();"/>
<menuitem id="releaseNotes"
label="&releaseCmd2.label;" accesskey="&releaseCmd2.accesskey;"
oncommand="openFormattedURL('app.releaseNotesURL');"/>
diff --git a/mail/base/content/mailWindowOverlay.xul b/mail/base/content/mailWindowOverlay.xul
index b412c4233..8fef2fd7a 100644
--- a/mail/base/content/mailWindowOverlay.xul
+++ b/mail/base/content/mailWindowOverlay.xul
@@ -2095,9 +2095,6 @@
label="&openHelp.label;"
key="key_openHelp"
oncommand="openSupportURL();"/>
- <menuitem id="appmenu_whatsNew"
- label="&whatsNewCmd.label;"
- oncommand="openWhatsNew();"/>
<menuitem id="appmenu_releaseNotes"
label="&releaseCmd2.label;"
oncommand="openFormattedURL('app.releaseNotesURL');"/>
diff --git a/mail/base/content/specialTabs.js b/mail/base/content/specialTabs.js
index f399aa268..e59dd0101 100644
--- a/mail/base/content/specialTabs.js
+++ b/mail/base/content/specialTabs.js
@@ -596,14 +596,6 @@ var specialTabs = {
// check this pref anyway and clear it so that we are consistent with what Firefox
// actually does. It will help developers switching between branches without updating.
if (Services.prefs.prefHasUserValue("app.update.postupdate")) {
- // Only show what's new tab if this is actually an upgraded version,
- // not just a new installation/profile (and don't show if the major version
- // hasn't changed).
- if (fromVer && (fromVer[0] != toVer[0])) {
- // showWhatsNewPage checks the details of the update manager before
- // showing the page.
- this.showWhatsNewPage();
- }
Services.prefs.clearUserPref("app.update.postupdate");
}
diff --git a/mail/locales/en-US/chrome/messenger/baseMenuOverlay.dtd b/mail/locales/en-US/chrome/messenger/baseMenuOverlay.dtd
index 4557b9e2c..d40f4efe7 100644
--- a/mail/locales/en-US/chrome/messenger/baseMenuOverlay.dtd
+++ b/mail/locales/en-US/chrome/messenger/baseMenuOverlay.dtd
@@ -15,8 +15,6 @@
<!ENTITY helpSafeMode.accesskey "R">
<!ENTITY releaseCmd2.label "Release Notes">
<!ENTITY releaseCmd2.accesskey "N">
-<!ENTITY whatsNewCmd.label "What's New">
-<!ENTITY whatsNewCmd.accesskey "W">
<!ENTITY openHelp.label "Help Contents">
<!ENTITY openHelp.accesskey "H">
<!ENTITY openHelp.commandkey "VK_F1">