Bug 1642394 - Remove redundant check for search service from TelemetryEnvironment. r=chutten

We removed MOZ_TOOLKIT_SEARCH ifdef in bug 1518551, so the search service is always present now.

Depends on D79876

Differential Revision: https://phabricator.services.mozilla.com/D79877
This commit is contained in:
Mark Banner 2020-06-16 20:45:15 +00:00
parent fe87b48213
commit fb9f1c2f32

View File

@ -1425,11 +1425,6 @@ EnvironmentCache.prototype = {
return;
}
if (!Services.search) {
// Just ignore cases where the search service is not implemented.
return;
}
this._log.trace(
"_updateSearchEngine - isInitialized: " + Services.search.isInitialized
);