mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 16:28:38 +09:00
Issue #1470 - Part 2: Change calls from UpdateUtils.getUpdateChannel() to UpdateUtils.UpdateChannel in telemetry modules
This commit is contained in:
parent
f38c12f0b4
commit
f5579fc786
3 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue