[Changed] clear dead code
This commit is contained in:
parent
54d6918fcf
commit
09ccb6726d
@ -17,8 +17,6 @@ class GA4AdminUserInterface_main extends \OxidEsales\Eshop\Application\Controlle
|
|||||||
{
|
{
|
||||||
$return = parent::render();
|
$return = parent::render();
|
||||||
|
|
||||||
$oConf = Registry::getConfig();
|
|
||||||
$this->addTplParam('d3ConfigObject', $oConf);
|
|
||||||
$this->addTplParam('d3ViewObject', $this);
|
$this->addTplParam('d3ViewObject', $this);
|
||||||
$this->addTplParam('d3ManagerTypeArray', oxNew(ManagerTypes::class)->getManagerList());
|
$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
|
* @param string $configParamName
|
||||||
* @return mixed
|
* @return mixed
|
||||||
|
@ -8,6 +8,8 @@ use OxidEsales\Eshop\Core\ViewConfig;
|
|||||||
class ManagerHandler
|
class ManagerHandler
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
|
* Gets current chosen Manager
|
||||||
|
*
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function getCurrManager() :string
|
public function getCurrManager() :string
|
||||||
|
@ -210,12 +210,6 @@ class ViewConfig extends ViewConfig_parent
|
|||||||
return $this->d3GetModuleConfigParam("_blEnableDebug");
|
return $this->d3GetModuleConfigParam("_blEnableDebug");
|
||||||
}
|
}
|
||||||
|
|
||||||
public function isPromotionList($listId)
|
|
||||||
{
|
|
||||||
$oConfig = Registry::getConfig();
|
|
||||||
$aPromotionListIds = $oConfig->getConfigParam("") ?? ['bargainItems', 'newItems', 'topBox', 'alsoBought', 'accessories', 'cross'];
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return string
|
* @return string
|
||||||
* @throws ContainerExceptionInterface
|
* @throws ContainerExceptionInterface
|
||||||
|
Loading…
x
Reference in New Issue
Block a user