Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Michael Iseard
Kudos-Donations
Commits
51f65e04
Commit
51f65e04
authored
Oct 05, 2021
by
Michael Iseard
Browse files
Rename "resync" to "sync"
parent
51283347
Changes
2
Hide whitespace changes
Inline
Side-by-side
app/Controller/Admin.php
View file @
51f65e04
...
...
@@ -551,7 +551,7 @@ class Admin {
new
AdminNotice
(
__
(
'Database re-created'
,
'kudos-donations'
)
);
break
;
case
'kudos_
re
sync_payments'
:
case
'kudos_sync_payments'
:
$mollie
=
$this
->
mollie
;
$updated
=
$mollie
->
sync_transactions
();
if
(
$updated
)
{
...
...
app/View/kudos-admin-debug.php
View file @
51f65e04
...
...
@@ -209,9 +209,9 @@ $tab = $_GET['tab'] ?? $default_tab;
<p>
Mollie actions.
</p>
<form
action=
"
<?php
echo
esc_url
(
$url
);
?>
"
method=
'post'
>
<?php
wp_nonce_field
(
'kudos_
re
sync_payments'
);
?>
<?php
wp_nonce_field
(
'kudos_sync_payments'
);
?>
<button
class=
"button-secondary confirm"
type=
'submit'
name=
'kudos_action'
value=
'kudos_
re
sync_payments'
>
Res
ync payments
value=
'kudos_sync_payments'
>
S
ync payments
</button>
</form>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment