diff --git a/suite/common/pref/pref-http.js b/suite/common/pref/pref-http.js index 8a4ae64c575..eed3ec2d8c6 100644 --- a/suite/common/pref/pref-http.js +++ b/suite/common/pref/pref-http.js @@ -61,19 +61,3 @@ function checkPipeliningProxy() } catch(e) {} } -/* Function to restore pref values to application defaults */ -function restoreAcceptEncoding() -{ - try { - var prefService = Components.classes["@mozilla.org/preferences-service;1"] - .getService(Components.interfaces.nsIPrefService); - var prefs = prefService.getDefaultBranch(null); - - /* get the current pref setting */ - var prefValue = prefs.getCharPref("network.http.accept-encoding"); - var editfield = document.getElementById("acceptEncodingString"); - if (editfield) - editfield.value = prefValue; - } catch (e) {} -} - diff --git a/suite/common/pref/pref-http.xul b/suite/common/pref/pref-http.xul index ce6d851af37..7956477dd15 100644 --- a/suite/common/pref/pref-http.xul +++ b/suite/common/pref/pref-http.xul @@ -51,8 +51,7 @@ @@ -105,19 +104,5 @@ - - - - - - - - - - diff --git a/suite/locales/en-US/chrome/common/pref/pref-http.dtd b/suite/locales/en-US/chrome/common/pref/pref-http.dtd index 5705c855de0..c3462abe7b6 100644 --- a/suite/locales/en-US/chrome/common/pref/pref-http.dtd +++ b/suite/locales/en-US/chrome/common/pref/pref-http.dtd @@ -16,7 +16,3 @@ - - - -