diff --git a/www/eproosystem.php b/www/eproosystem.php index 985ff0b6..0c50f5bc 100644 --- a/www/eproosystem.php +++ b/www/eproosystem.php @@ -323,28 +323,6 @@ class erpooSystem extends Application } } - $activateDoubleClick = false; - /** @var Dataprotection $dataProtectionModule */ - $dataProtectionModule = $this->loadModule('dataprotection'); - - if($dataProtectionModule !== null && $dataProtectionModule->isHubspotActive()) { - $activateDoubleClick = true; - $this->Tpl->Add( - 'SCRIPTJAVASCRIPT', - '' - ); - $this->Tpl->Add( - 'ADDITIONALCSPHEADER', - ' js.hs-scripts.com js.hscollectedforms.net js.hsleadflows.net js.hs-banner.com js.hs-analytics.net api.hubapi.com js.hsadspixel.net ' - ); - $this->Tpl->Add( - 'ADDITIONALCSPHEADER', - 'forms.hubspot.com forms.hsforms.com track.hubspot.com www.google.com www.google.de ' - ); - } - if($activateDoubleClick) { - $this->Tpl->Add('ADDITIONALCSPHEADER', ' googleads.g.doubleclick.net ' ); - } $hooktpl = 'JSSCRIPTS'; $this->erp->RunHook('eproosystem_ende', 1, $hooktpl); }