Bug 790453 - Rename the pref for background updates to app.update.staging.enabled; r=mconley
authorEhsan Akhgari <ehsan@mozilla.com>
Tue, 11 Sep 2012 22:08:39 -0400
changeset 12261 cebc1b16ac6ba9c011edea7f4eed71e4dbd73c2f
parent 12260 dfd106c0f965275e1f29f2fd3d2b3078329926d9
child 12262 b5b960f438ed31c3ce80e1ffe08c3a9a05271a20
push id738
push userbugzilla@standard8.plus.com
push dateMon, 08 Oct 2012 19:38:39 +0000
treeherdercomm-aurora@6694e4ec3767 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley
bugs790453
Bug 790453 - Rename the pref for background updates to app.update.staging.enabled; r=mconley
mail/app/profile/all-thunderbird.js
mail/base/content/aboutDialog.js
--- a/mail/app/profile/all-thunderbird.js
+++ b/mail/app/profile/all-thunderbird.js
@@ -102,17 +102,17 @@ pref("app.update.auto", true);
 //
 pref("app.update.mode", 1);
 
 // If set to true, the Update Service will present no UI for any event.
 pref("app.update.silent", false);
 
 // If set to true, the Update Service will apply updates in the background
 // when it finishes downloading them.
-pref("app.update.stage.enabled", true);
+pref("app.update.staging.enabled", true);
 
 // Update service URL:
 pref("app.update.url", "https://aus3.mozilla.org/update/3/%PRODUCT%/%VERSION%/%BUILD_ID%/%BUILD_TARGET%/%LOCALE%/%CHANNEL%/%OS_VERSION%/%DISTRIBUTION%/%DISTRIBUTION_VERSION%/update.xml");
 
 // URL user can browse to manually if for some reason all update installation
 // attempts fail.
 pref("app.update.url.manual", "http://www.getthunderbird.com");
 // A default value for the "More information about this update" link
--- a/mail/base/content/aboutDialog.js
+++ b/mail/base/content/aboutDialog.js
@@ -227,17 +227,17 @@ appUpdater.prototype =
     }
     catch (e) { }
     return true; // Thunderbird default is true
   },
 
   // true when updating in background is enabled.
   get backgroundUpdateEnabled() {
     return this.updateEnabled &&
-           Services.prefs.getBoolPref("app.update.stage.enabled");
+           Services.prefs.getBoolPref("app.update.staging.enabled");
   },
 
   // true when updating is automatic.
   get updateAuto() {
     try {
       return Services.prefs.getBoolPref("app.update.auto");
     }
     catch (e) { }