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 2823efa commit f3092feCopy full SHA for f3092fe
resources/lib/UnityUser.php
@@ -372,6 +372,7 @@ public function getPIGroupGIDs(): array
372
*/
373
public function requestAccountDeletion(): void
374
{
375
+ $this->SQL->deleteRequestsByUser($this->uid);
376
$this->SQL->addAccountDeletionRequest($this->uid);
377
$this->MAILER->sendMail("admin", "account_deletion_request_admin", [
378
"user" => $this->uid,
webroot/panel/account.php
@@ -86,7 +86,6 @@
86
if ($hasGroups) {
87
break;
88
}
89
- $SQL->deleteRequestsByUser($USER->uid);
90
if (!$SQL->accDeletionRequestExists($USER->uid)) {
91
$USER->requestAccountDeletion();
92
0 commit comments