diff --git a/includes/ServiceWiring.php b/includes/ServiceWiring.php index aa8212a0d..13983edc3 100644 --- a/includes/ServiceWiring.php +++ b/includes/ServiceWiring.php @@ -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 = */ '',