Skip to content

Commit

Permalink
[PIPRES-468] fix name
Browse files Browse the repository at this point in the history
  • Loading branch information
MarijusCoding committed Nov 27, 2024
1 parent e067c74 commit c5cbb62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions upgrade/Upgrade-6.2.5.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function upgrade_module_6_2_5(Mollie $module): bool
}

try {
deleteAndUpdatePaymentMethodTitles();
updatePaymentMethodTitles();
} catch (Exception $e) {
return false;
}
Expand All @@ -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);
Expand Down

0 comments on commit c5cbb62

Please sign in to comment.