source/Core/SettingsHandler.php
protected function removeModuleConfigs($moduleId, $configsToRemove)
    {
        $db = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
        $quotedShopId = $db->quote(\OxidEsales\Eshop\Core\Registry::getConfig()->getShopId());
        $quotedModuleId = $db->quote($this->getModuleConfigId($moduleId));

        $quotedConfigsToRemove = array_map([$db, 'quote'], $configsToRemove);
        $deleteSql = "DELETE
                       FROM `oxconfig`
                       WHERE oxmodule = $quotedModuleId AND
                             oxshopid = $quotedShopId AND
                             oxvarname IN (" . implode(", ", $quotedConfigsToRemove) . ")";

        $db->execute($deleteSql);
    }
protected function removeModuleConfigs($moduleId, $configsToRemove)
    {
        $db = \OxidEsales\Eshop\Core\DatabaseProvider::getDb();
        $quotedShopId = $db->quote(\OxidEsales\Eshop\Core\Registry::getConfig()->getShopId());
        $quotedModuleId = $db->quote($this->getModuleConfigId($moduleId));

        $quotedConfigsToRemove = array_map([$db, 'quote'], $configsToRemove);
        $deleteSql = "DELETE
                       FROM `oxconfig`
                       WHERE oxmodule = $quotedModuleId AND
                             oxshopid = $quotedShopId AND
                             oxvarname IN (" . implode(", ", $quotedConfigsToRemove) . ")";

        $db->execute($deleteSql);
    }
protected function removeModuleConfigs ( $ moduleId , $ configsToRemove ) { $ db = \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) ; $ quotedShopId = $ db -> quote ( \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getShopId ( ) ) ; $ quotedModuleId = $ db -> quote ( $ this -> getModuleConfigId ( $ moduleId ) ) ; $ quotedConfigsToRemove = array_map ( [ $ db , 'quote' ] , $ configsToRemove ) ; $ deleteSql = "DELETE
                       FROM `oxconfig`
                       WHERE oxmodule = $quotedModuleId AND
                             oxshopid = $quotedShopId AND
                             oxvarname IN (" . implode ( ", " , $ quotedConfigsToRemove ) . ")" ; $ db -> execute ( $ deleteSql ) ; }
Removes module configs from database

@param string $moduleId        Module id
@param array  $configsToRemove Configs to remove
Removes module configs from database