diff --git a/Modules/Core/WidgetControl.php b/Modules/Core/WidgetControl.php index f79c6c2..a326a2b 100644 --- a/Modules/Core/WidgetControl.php +++ b/Modules/Core/WidgetControl.php @@ -5,7 +5,7 @@ namespace D3\GoogleAnalytics4\Modules\Core; use OxidEsales\EshopCommunity\Core\Registry; class WidgetControl extends WidgetControl_parent{ - protected function _getStartController() // phpcs:ignore PSR2.Methods.MethodDeclaration.Underscore + protected function getFrontendStartControllerKey() // phpcs:ignore PSR2.Methods.MethodDeclaration.Underscore { /* * array ( @@ -26,7 +26,6 @@ class WidgetControl extends WidgetControl_parent{ ), ) */ - $sScriptName = $_SERVER['SCRIPT_NAME']; if($sScriptName !== '/widget.php') {