We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7dfd50 commit c093943Copy full SHA for c093943
webroot/panel/account.php
@@ -86,12 +86,16 @@
86
if ($hasGroups) {
87
break;
88
}
89
+ // FIXME send an error message if already exists
90
if (!$SQL->accDeletionRequestExists($USER->uid)) {
91
$USER->requestAccountDeletion();
92
93
94
case "cancel_account_deletion_request":
- $USER->cancelRequestAccountDeletion();
95
+ // FIXME send an error message if doesn't exist
96
+ if ($SQL->accDeletionRequestExists($USER->uid)) {
97
+ $USER->cancelRequestAccountDeletion();
98
+ }
99
100
101
0 commit comments