Skip to content

Commit

Permalink
Fix cs
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaymo committed Oct 1, 2024
1 parent da6a845 commit ec9ccb1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions inc/utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,15 +190,15 @@ function mollieWooCommerceFormatCurrencyValue($value, $currency)
return number_format($value, 2, '.', '');
}

function mollieUpdateCompleted( $upgrader_object, $options ) {
function mollieUpdateCompleted($upgrader_object, $options)
{
//whenever something gets updated they update the languages, we need to delete them
mollieDeleteWPTranslationFiles();
}


function mollieDeleteWPTranslationFiles()
{
if ( ! function_exists( 'WP_Filesystem' ) ) {
if (!function_exists('WP_Filesystem')) {
require_once ABSPATH . '/wp-admin/includes/file.php';
}
WP_Filesystem();
Expand Down
2 changes: 1 addition & 1 deletion src/Shared/SharedDataDictionary.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class SharedDataDictionary
'_transient_mollie-wc-giftcard_issuers_test',
'_transient_timeout_mollie-wc-giftcard_issuers_live',
'_transient_mollie-wc-giftcard_issuers_live',
'mollie_plugin_update_translation'
'mollie_plugin_update_translation',
];
public const DB_VERSION_PARAM_NAME = 'mollie-db-version';
public const PLUGIN_VERSION_PARAM_NAME = 'mollie-plugin-version';
Expand Down

0 comments on commit ec9ccb1

Please sign in to comment.