Bug 790453 - Rename the pref for background updates to app.update.staging.enabled; r=mconley, a=Standard8.
authorEhsan Akhari <ehsan@mozilla.com>
Wed, 12 Sep 2012 12:18:35 -0400
changeset 12111 d830d70606622290e7319b886c38ac05b3457837
parent 12110 51c5a67c5ed03833a5040abe7e71ab05706b86b4
child 12112 4787acf6b909f6c82b129b198a996039706ed6f4
push id693
push usermconley@mozilla.com
push dateWed, 12 Sep 2012 16:21:30 +0000
treeherdercomm-aurora@d830d7060662 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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
@@ -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) { }