summaryrefslogtreecommitdiff
path: root/toolkit/components/urlformatter
diff options
context:
space:
mode:
authorAscrod <32915892+Ascrod@users.noreply.github.com>2019-04-20 07:35:31 -0400
committerAscrod <32915892+Ascrod@users.noreply.github.com>2019-04-20 07:35:31 -0400
commita3a34dad182a65500beddac7470c843ce4daebd6 (patch)
treec0836ddb727e06561dde68d921d66df72fd9d7f5 /toolkit/components/urlformatter
parent60e2837156c3ce2325782d77784f2a34731ef2f4 (diff)
downloaduxp-a3a34dad182a65500beddac7470c843ce4daebd6.tar.gz
Remove browser.search.region usage. Tag #245.
Diffstat (limited to 'toolkit/components/urlformatter')
-rw-r--r--toolkit/components/urlformatter/nsURLFormatter.js9
1 files changed, 0 insertions, 9 deletions
diff --git a/toolkit/components/urlformatter/nsURLFormatter.js b/toolkit/components/urlformatter/nsURLFormatter.js
index 970de05374..a4a8e1f475 100644
--- a/toolkit/components/urlformatter/nsURLFormatter.js
+++ b/toolkit/components/urlformatter/nsURLFormatter.js
@@ -91,15 +91,6 @@ nsURLFormatterService.prototype = {
LOCALE: () => Cc["@mozilla.org/chrome/chrome-registry;1"].
getService(Ci.nsIXULChromeRegistry).
getSelectedLocale('global'),
- REGION: function() {
- try {
- // When the geoip lookup failed to identify the region, we fallback to
- // the 'ZZ' region code to mean 'unknown'.
- return Services.prefs.getCharPref("browser.search.region") || "ZZ";
- } catch(e) {
- return "ZZ";
- }
- },
VENDOR: function() { return this.appInfo.vendor; },
NAME: function() { return this.appInfo.name; },
ID: function() { return this.appInfo.ID; },