diff options
author | Matt A. Tobin <email@mattatobin.com> | 2019-04-21 11:28:27 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2019-04-21 11:28:27 -0400 |
commit | bca1943ca7bc8282cbf83be4898ab1d7e9e5355f (patch) | |
tree | 63cdb83f9b93f34c76f0dc550f25122f5088c5b5 /toolkit/modules | |
parent | bccf86a10d845d2ea2d1dcd22383d09d3ddeba61 (diff) | |
download | UXP-bca1943ca7bc8282cbf83be4898ab1d7e9e5355f.tar UXP-bca1943ca7bc8282cbf83be4898ab1d7e9e5355f.tar.gz UXP-bca1943ca7bc8282cbf83be4898ab1d7e9e5355f.tar.lz UXP-bca1943ca7bc8282cbf83be4898ab1d7e9e5355f.tar.xz UXP-bca1943ca7bc8282cbf83be4898ab1d7e9e5355f.zip |
Fix variable used before being declared in UpdateUtils.jsm
Fall out from #991
Diffstat (limited to 'toolkit/modules')
-rw-r--r-- | toolkit/modules/UpdateUtils.jsm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/modules/UpdateUtils.jsm b/toolkit/modules/UpdateUtils.jsm index fed7c7637..4e796a2da 100644 --- a/toolkit/modules/UpdateUtils.jsm +++ b/toolkit/modules/UpdateUtils.jsm @@ -31,9 +31,9 @@ this.UpdateUtils = { * Whether or not to include the partner bits. Default: true. */ getUpdateChannel(aIncludePartners = true) { + let defaults = Services.prefs.getDefaultBranch(null); let channel = defaults.getCharPref("app.update.channel", AppConstants.MOZ_UPDATE_CHANNEL); - let defaults = Services.prefs.getDefaultBranch(null); if (aIncludePartners) { try { |