Rip broken telemetry out of the app AUS.

Tag #21
This commit is contained in:
wolfbeast 2019-05-14 12:16:07 +02:00 committed by Roy Tam
commit 0103cdc8a5
5 changed files with 1 additions and 736 deletions

View file

@ -11,10 +11,9 @@
// so we have to use different names.
const {classes: CoC, interfaces: CoI, results: CoR, utils: CoU} = Components;
/* globals DownloadUtils, Services, AUSTLMY */
/* globals DownloadUtils, Services */
CoU.import("resource://gre/modules/DownloadUtils.jsm", this);
CoU.import("resource://gre/modules/Services.jsm", this);
CoU.import("resource://gre/modules/UpdateTelemetry.jsm", this);
const XMLNS_XUL = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
@ -115,15 +114,6 @@ var gUpdates = {
*/
_runUnload: true,
/**
* Submit on close telemtry values for the update wizard.
* @param pageID
* The page id for the last page displayed.
*/
_submitTelemetry: function(aPageID) {
AUSTLMY.pingWizLastPageCode(aPageID);
},
/**
* Helper function for setButtons
* Resets button to original label & accesskey if string is null.
@ -242,7 +232,6 @@ var gUpdates = {
var pageid = document.documentElement.currentPage.pageid;
if ("onWizardFinish" in this._pages[pageid])
this._pages[pageid].onWizardFinish();
this._submitTelemetry(pageid);
},
/**
@ -254,7 +243,6 @@ var gUpdates = {
var pageid = document.documentElement.currentPage.pageid;
if ("onWizardCancel" in this._pages[pageid])
this._pages[pageid].onWizardCancel();
this._submitTelemetry(pageid);
},
/**