Bug 726942 - Drop redundant general.useragent.extra.thunderbird preference. r=mconley
authorMark Banner <bugzilla@standard8.plus.com>
Wed, 15 Feb 2012 10:59:47 +0000
changeset 10845 052aac7c722e496988e5f16914ae215c24ba1c97
parent 10844 2329fac36853a2196a1ee986f475f3b2df7a92c6
child 10846 c428aa3c9d71c463e74531c591abaf182de583be
push id463
push userbugzilla@standard8.plus.com
push dateTue, 24 Apr 2012 17:34:51 +0000
treeherdercomm-beta@e53588e8f7b0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley
bugs726942
Bug 726942 - Drop redundant general.useragent.extra.thunderbird preference. r=mconley
mail/app/Makefile.in
mail/app/profile/all-thunderbird.js
--- a/mail/app/Makefile.in
+++ b/mail/app/Makefile.in
@@ -167,18 +167,17 @@ RCFLAGS += -DTHUNDERBIRD_ICO=\"$(DIST)/b
 endif
 
 include $(topsrcdir)/config/rules.mk
 
 ifdef MOZILLA_OFFICIAL
 DEFINES += -DMOZILLA_OFFICIAL
 endif
 
-APP_UA_NAME = $(shell echo $(MOZ_APP_DISPLAYNAME) | sed -e's/[^A-Za-z]//g')
-DEFINES += -DAPP_VERSION="$(MOZ_APP_VERSION)" -DAPP_UA_NAME="$(APP_UA_NAME)"
+DEFINES += -DAPP_VERSION="$(MOZ_APP_VERSION)"
 
 ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
 LIBS	+= -framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework Carbon
 endif
 
 ifeq ($(OS_ARCH),WINNT)
 #
 # Control the default heap size.
--- a/mail/app/profile/all-thunderbird.js
+++ b/mail/app/profile/all-thunderbird.js
@@ -39,18 +39,16 @@
 #filter substitution
 
 #ifdef XP_UNIX
 #ifndef XP_MACOSX
 #define UNIX_BUT_NOT_MAC
 #endif
 #endif
 
-pref("general.useragent.extra.thunderbird", "@APP_UA_NAME@/@APP_VERSION@");
-
 pref("general.useragent.locale", "@AB_CD@");
 pref("general.skins.selectedSkin", "classic/1.0");
 
 #ifdef XP_MACOSX
 pref("browser.chromeURL", "chrome://messenger/content/messengercompose/messengercompose.xul");
 pref("mail.biff.animate_dock_icon", false);
 #endif