diff --git a/Application/Controller/Admin/GA4AdminUserInterface_main.php b/Application/Controller/Admin/GA4AdminUserInterface_main.php index ee1d242..019f46a 100644 --- a/Application/Controller/Admin/GA4AdminUserInterface_main.php +++ b/Application/Controller/Admin/GA4AdminUserInterface_main.php @@ -17,8 +17,6 @@ class GA4AdminUserInterface_main extends \OxidEsales\Eshop\Application\Controlle { $return = parent::render(); - $oConf = Registry::getConfig(); - $this->addTplParam('d3ConfigObject', $oConf); $this->addTplParam('d3ViewObject', $this); $this->addTplParam('d3ManagerTypeArray', oxNew(ManagerTypes::class)->getManagerList()); @@ -71,22 +69,6 @@ class GA4AdminUserInterface_main extends \OxidEsales\Eshop\Application\Controlle } } - /** - * @param array $postArray - * @param array $toExcludeArray - * @return array - */ - public function clearOffPostParams(array $postArray, array $toExcludeArray) :array - { - foreach ($toExcludeArray as $excludeThis){ - if (in_array($excludeThis, array_keys($postArray))){ - unset($postArray[$excludeThis]); - } - } - - return $postArray; - } - /** * @param string $configParamName * @return mixed diff --git a/Application/Model/ManagerHandler.php b/Application/Model/ManagerHandler.php index 4fa4035..c207359 100644 --- a/Application/Model/ManagerHandler.php +++ b/Application/Model/ManagerHandler.php @@ -8,6 +8,8 @@ use OxidEsales\Eshop\Core\ViewConfig; class ManagerHandler { /** + * Gets current chosen Manager + * * @return string */ public function getCurrManager() :string diff --git a/Modules/Core/ViewConfig.php b/Modules/Core/ViewConfig.php index 685ca34..46f8681 100644 --- a/Modules/Core/ViewConfig.php +++ b/Modules/Core/ViewConfig.php @@ -210,12 +210,6 @@ class ViewConfig extends ViewConfig_parent return $this->d3GetModuleConfigParam("_blEnableDebug"); } - public function isPromotionList($listId) - { - $oConfig = Registry::getConfig(); - $aPromotionListIds = $oConfig->getConfigParam("") ?? ['bargainItems', 'newItems', 'topBox', 'alsoBought', 'accessories', 'cross']; - } - /** * @return string * @throws ContainerExceptionInterface