diff --git a/upgrade/Upgrade-6.2.5.php b/upgrade/Upgrade-6.2.5.php index e7d22dea4..f72c25ce1 100644 --- a/upgrade/Upgrade-6.2.5.php +++ b/upgrade/Upgrade-6.2.5.php @@ -31,7 +31,7 @@ function upgrade_module_6_2_5(Mollie $module): bool } try { - deleteAndUpdatePaymentMethodTitles(); + updatePaymentMethodTitles(); } catch (Exception $e) { return false; } @@ -41,7 +41,7 @@ function upgrade_module_6_2_5(Mollie $module): bool return Db::getInstance()->execute($sql); } -function deleteAndUpdatePaymentMethodTitles() { +function updatePaymentMethodTitles() { $sql = 'SELECT `id_method`, `title` FROM `' . _DB_PREFIX_ . 'mol_payment_method`'; $methodsList = \Db::getInstance()->executeS($sql);