protected function removeFromModulesArray($key, $aDeletedModule)
    {
        $array = $this->getModuleConfigParametersByKey($key);

        foreach ($aDeletedModule as $sDeletedModuleId) {
            if (isset($array[$sDeletedModuleId])) {
                unset($array[$sDeletedModuleId]);
            }
        }

        \OxidEsales\Eshop\Core\Registry::getConfig()->saveShopConfVar('aarr', 'aModule' . $key, $array);
    }