[Changed] clear dead code

This commit is contained in:
2024-05-29 12:05:32 +02:00
parent 54d6918fcf
commit 09ccb6726d
3 changed files with 2 additions and 24 deletions

View File

@ -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