diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-03-05 19:24:11 -0500 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-14 13:03:07 +0200 |
commit | 68e873ada7df399983072a1d67cf89f379fa0618 (patch) | |
tree | ae3d09cd9a3442761aee9d0b5b9b52d9661c45cc | |
parent | a5b05528fe59995364e4c8d7b5082cf3e3ac83d0 (diff) | |
download | UXP-68e873ada7df399983072a1d67cf89f379fa0618.tar UXP-68e873ada7df399983072a1d67cf89f379fa0618.tar.gz UXP-68e873ada7df399983072a1d67cf89f379fa0618.tar.lz UXP-68e873ada7df399983072a1d67cf89f379fa0618.tar.xz UXP-68e873ada7df399983072a1d67cf89f379fa0618.zip |
Issue #1470 - Part 2: Change calls from UpdateUtils.getUpdateChannel() to UpdateUtils.UpdateChannel in telemetry modules
-rw-r--r-- | toolkit/components/telemetry/TelemetryController.jsm | 2 | ||||
-rw-r--r-- | toolkit/components/telemetry/TelemetryEnvironment.jsm | 2 | ||||
-rw-r--r-- | toolkit/components/telemetry/TelemetryReportingPolicy.jsm | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/components/telemetry/TelemetryController.jsm b/toolkit/components/telemetry/TelemetryController.jsm index b8de776da..86de87d02 100644 --- a/toolkit/components/telemetry/TelemetryController.jsm +++ b/toolkit/components/telemetry/TelemetryController.jsm @@ -365,7 +365,7 @@ var Impl = { let updateChannel = null; try { - updateChannel = UpdateUtils.getUpdateChannel(false); + updateChannel = UpdateUtils.UpdateChannel; } catch (e) { this._log.trace("_getApplicationSection - Unable to get update channel.", e); } diff --git a/toolkit/components/telemetry/TelemetryEnvironment.jsm b/toolkit/components/telemetry/TelemetryEnvironment.jsm index 391ea4bb4..f88dfc5f0 100644 --- a/toolkit/components/telemetry/TelemetryEnvironment.jsm +++ b/toolkit/components/telemetry/TelemetryEnvironment.jsm @@ -1106,7 +1106,7 @@ EnvironmentCache.prototype = { _updateSettings: function () { let updateChannel = null; try { - updateChannel = UpdateUtils.getUpdateChannel(false); + updateChannel = UpdateUtils.UpdateChannel; } catch (e) {} this._currentEnvironment.settings = { diff --git a/toolkit/components/telemetry/TelemetryReportingPolicy.jsm b/toolkit/components/telemetry/TelemetryReportingPolicy.jsm index d9c99df49..6ad534f53 100644 --- a/toolkit/components/telemetry/TelemetryReportingPolicy.jsm +++ b/toolkit/components/telemetry/TelemetryReportingPolicy.jsm @@ -254,7 +254,7 @@ var TelemetryReportingPolicyImpl = { // use the general minimum policy version. let channel = ""; try { - channel = UpdateUtils.getUpdateChannel(false); + channel = UpdateUtils.UpdateChannel; } catch (e) { this._log.error("minimumPolicyVersion - Unable to retrieve the current channel."); return minPolicyVersion; |