Skip to content

Commit 10befbd

Browse files
committed
cancel other requests when user requests account deletion
1 parent c6824b6 commit 10befbd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

webroot/panel/account.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
if ($hasGroups) {
8787
break;
8888
}
89+
$SQL->deleteRequestsByUser($USER->uid);
8990
if (!$SQL->accDeletionRequestExists($USER->uid)) {
9091
$USER->requestAccountDeletion();
9192
}

0 commit comments

Comments
 (0)