diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-02-20 10:54:51 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-02-20 10:54:51 +0100 |
commit | fc0a0f13ad6f0e4e60246d2cfd324a2fb1f0b35f (patch) | |
tree | 12babcd8964575da9fbbcfd516ce1513823451ee /application/basilisk/components/preferences/in-content/advanced.js | |
parent | 833be88a6dfe1d52ab6a22ec498d515293c9d034 (diff) | |
download | UXP-fc0a0f13ad6f0e4e60246d2cfd324a2fb1f0b35f.tar UXP-fc0a0f13ad6f0e4e60246d2cfd324a2fb1f0b35f.tar.gz UXP-fc0a0f13ad6f0e4e60246d2cfd324a2fb1f0b35f.tar.lz UXP-fc0a0f13ad6f0e4e60246d2cfd324a2fb1f0b35f.tar.xz UXP-fc0a0f13ad6f0e4e60246d2cfd324a2fb1f0b35f.zip |
Remove conditional MOZ_MAINTENANCE_SERVICE code
Tag #145
Diffstat (limited to 'application/basilisk/components/preferences/in-content/advanced.js')
-rw-r--r-- | application/basilisk/components/preferences/in-content/advanced.js | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/application/basilisk/components/preferences/in-content/advanced.js b/application/basilisk/components/preferences/in-content/advanced.js index 5f9458eee..850f0e09f 100644 --- a/application/basilisk/components/preferences/in-content/advanced.js +++ b/application/basilisk/components/preferences/in-content/advanced.js @@ -670,25 +670,6 @@ var gAdvancedPane = { // or the binary platform or OS version is not known. // A locked pref is sufficient to disable the radiogroup. radiogroup.disabled = !canCheck || enabledPref.locked || autoPref.locked; - - if (AppConstants.MOZ_MAINTENANCE_SERVICE) { - // Check to see if the maintenance service is installed. - // If it is don't show the preference at all. - var installed; - try { - var wrk = Components.classes["@mozilla.org/windows-registry-key;1"] - .createInstance(Components.interfaces.nsIWindowsRegKey); - wrk.open(wrk.ROOT_KEY_LOCAL_MACHINE, - "SOFTWARE\\Mozilla\\MaintenanceService", - wrk.ACCESS_READ | wrk.WOW64_64); - installed = wrk.readIntValue("Installed"); - wrk.close(); - } catch (e) { - } - if (installed != 1) { - document.getElementById("useService").hidden = true; - } - } } }, |