8
0

[Fixed] wrong method call

reverting LTS-methods to deprecated module-config call
Dieser Commit ist enthalten in:
MaxBUhe 2024-04-11 11:14:17 +02:00
Ursprung 44e54b7329
Commit 550c9dbdf9

Datei anzeigen

@ -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');
}
}