Bug 690290 - Disable the what's new tab for users updating from 7.0 to 7.0.1. Based on a patch by Irving, updated by Standard8. r+a=Standard8 and for CLOSED TREE RELEASE_7_END
authorIrving Reid <irving@mozilla.com>
Thu, 29 Sep 2011 11:00:48 +0100
changeset 30676 e69130e0a43ef0d5b035806be835c5bedd233353
parent 30675 812667501ca6955e2599d28e35dd19c376ed9c80
child 30677 32eca0a1cd02ac604387d7a0876a52136fce94c1
child 30680 eacd3f452fc1d790728fe334cc269f6616cd9c4b
push id1
push userclokep@gmail.com
push dateMon, 07 May 2018 22:45:56 +0000
treeherdercomm-esr60@57eacde5ef40 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs690290
Bug 690290 - Disable the what's new tab for users updating from 7.0 to 7.0.1. Based on a patch by Irving, updated by Standard8. r+a=Standard8 and for CLOSED TREE
mail/base/content/specialTabs.js
--- a/mail/base/content/specialTabs.js
+++ b/mail/base/content/specialTabs.js
@@ -299,17 +299,17 @@ var specialTabs = {
     tabmail.registerTabType(this.contentTabType);
     tabmail.registerTabType(this.chromeTabType);
 
     // If we've upgraded:
     let [fromVer, toVer] = this.getApplicationUpgradeVersions(prefs);
 
     // Only show what's new tab if this is actually an upgraded version,
     // not just a new installation/profile.
-    if (fromVer && fromVer != toVer)
+    if (fromVer && fromVer != toVer && fromVer != '7.0')
       this.showWhatsNewPage();
 
     // Show the about rights notification if we need to.
     if (this.shouldShowAboutRightsNotification(prefs))
       this.showAboutRightsNotification(prefs);
   },
 
   /**