[Fixed] wrong method call

reverting LTS-methods to deprecated module-config call
This commit is contained in:
MaxBUhe 2024-04-11 11:14:17 +02:00
parent 44e54b7329
commit 550c9dbdf9
1 changed files with 2 additions and 8 deletions

View File

@ -211,10 +211,7 @@ class ViewConfig extends ViewConfig_parent
*/
public function getServerSidetaggingJsDomain() :string
{
return ContainerFactory::getInstance()
->getContainer()
->get(ModuleSettingBridgeInterface::class)
->get('d3_gtm_settings_serversidetagging_js', 'd3googleanalytics4');
return Registry::getConfig()->getConfigParam('d3_gtm_settings_serversidetagging_js');
}
/**
@ -224,9 +221,6 @@ class ViewConfig extends ViewConfig_parent
*/
public function getServerSidetaggingNoJsDomain() :string
{
return ContainerFactory::getInstance()
->getContainer()
->get(ModuleSettingBridgeInterface::class)
->get('d3_gtm_settings_serversidetagging_nojs', 'd3googleanalytics4');
return Registry::getConfig()->getConfigParam('d3_gtm_settings_serversidetagging_nojs');
}
}