[Changed] clear dead code
Dieser Commit ist enthalten in:
Ursprung
54d6918fcf
Commit
09ccb6726d
@ -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
|
||||
|
@ -8,6 +8,8 @@ use OxidEsales\Eshop\Core\ViewConfig;
|
||||
class ManagerHandler
|
||||
{
|
||||
/**
|
||||
* Gets current chosen Manager
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getCurrManager() :string
|
||||
|
@ -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
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren