Bug 790453 - Rename the pref for background updates to app.update.staging.enabled; r=mconley, a=Standard8. SEAMONKEY_2_13b3_BUILD1 SEAMONKEY_2_13b3_RELEASE
authorEhsan Akhari <ehsan@mozilla.com>
Wed, 12 Sep 2012 12:20:59 -0400
changeset 13000 852880383483a0c2db8db48acad226a85d95c062
parent 12999 43d1dd48668792c6e8e1f3e24e740ff45dd78ed6
child 13001 060b8742c4d3a9736990a61498b5704b8bdfd37c
child 13003 fec99851f292c3b361a59325e235f0479ebc753c
push idunknown
push userunknown
push dateunknown
reviewersmconley, Standard8
bugs790453
Bug 790453 - Rename the pref for background updates to app.update.staging.enabled; r=mconley, a=Standard8.
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
@@ -101,17 +101,17 @@ pref("app.update.auto", true);
 // See chart in nsUpdateService.js.in for more details
 //
 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) { }