mirror of
https://github.com/ManchildProductions/UXP-Fixed.git
synced 2026-07-21 03:48:43 +00:00
Issue #1470 - Part 2: Change calls from UpdateUtils.getUpdateChannel() to UpdateUtils.UpdateChannel in telemetry modules
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -1106,7 +1106,7 @@ EnvironmentCache.prototype = {
|
||||
_updateSettings: function () {
|
||||
let updateChannel = null;
|
||||
try {
|
||||
updateChannel = UpdateUtils.getUpdateChannel(false);
|
||||
updateChannel = UpdateUtils.UpdateChannel;
|
||||
} catch (e) {}
|
||||
|
||||
this._currentEnvironment.settings = {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user