Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:acdc:as_python3_module
MozillaThunderbird.19722
thunderbird-bmo1664607.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File thunderbird-bmo1664607.patch of Package MozillaThunderbird.19722
diff --git a/mail/base/content/specialTabs.js b/mail/base/content/specialTabs.js --- a/mail/base/content/specialTabs.js +++ b/mail/base/content/specialTabs.js @@ -1045,18 +1045,20 @@ Services.prefs.setCharPref("mailnews.start_page_override.mstone", mstone); } - let update = Cc["@mozilla.org/updates/update-manager;1"].getService( - Ci.nsIUpdateManager - ).activeUpdate; + if (AppConstants.MOZ_UPDATER) { + let update = Cc["@mozilla.org/updates/update-manager;1"].getService( + Ci.nsIUpdateManager + ).activeUpdate; - if (update && Services.vc.compare(update.appVersion, old_mstone) > 0) { - let overridePage = Services.urlFormatter.formatURLPref( - "mailnews.start_page.override_url" - ); - overridePage = this.getPostUpdateOverridePage(update, overridePage); - overridePage = overridePage.replace("%OLD_VERSION%", old_mstone); - if (overridePage) { - openLinkExternally(overridePage); + if (update && Services.vc.compare(update.appVersion, old_mstone) > 0) { + let overridePage = Services.urlFormatter.formatURLPref( + "mailnews.start_page.override_url" + ); + overridePage = this.getPostUpdateOverridePage(update, overridePage); + overridePage = overridePage.replace("%OLD_VERSION%", old_mstone); + if (overridePage) { + openLinkExternally(overridePage); + } } } },
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor