Replace deprecated CentralIdLookup::factory

Bug: T289713
Change-Id: Icba4d81d66a40012658172929ed4e015c074b903
This commit is contained in:
TChin 2021-08-25 13:58:18 -04:00
parent 92e034fbe7
commit a841713f35
1 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ return [
$services->getMainConfig(),
$context->getUser(),
$context->getRequest(),
CentralIdLookup::factoryNonLocal(),
$services->getCentralIdLookupFactory()->getNonLocalLookup(),
Constants::CONFIG_KEY_LANGUAGE_IN_HEADER,
Constants::REQUIREMENT_LANGUAGE_IN_HEADER,
Constants::QUERY_PARAM_LANGUAGE_IN_HEADER,
@ -103,7 +103,7 @@ return [
$config,
$context->getUser(),
$context->getRequest(),
CentralIdLookup::factoryNonLocal(),
$services->getCentralIdLookupFactory()->getNonLocalLookup(),
Constants::CONFIG_KEY_LANGUAGE_IN_HEADER,
$requirementName,
/* $overrideName = */ '',