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);
    }