Bug 1924001 - Remove deprecated function setEventRecordingEnabled r=nalexander,firefox-desktop-core-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D225682
This commit is contained in:
Eric Chen
2024-10-16 18:57:08 +00:00
parent 17bf4f058b
commit 38f936886c

View File

@@ -1363,10 +1363,6 @@ BrowserGlue.prototype = {
// likely sees the profile selector on launch.
if (Services.prefs.getBoolPref(launchOnLoginPref)) {
Glean.launchOnLogin.lastProfileDisableStartup.record();
Services.telemetry.setEventRecordingEnabled(
"launch_on_login",
true
);
Services.telemetry.recordEvent(
"launch_on_login",
"last_profile_disable",